add 站点图标缓存

This commit is contained in:
jxxghp
2023-06-12 11:16:37 +08:00
parent e10776cf1d
commit a111c1dea9
13 changed files with 110 additions and 65 deletions

View File

@ -46,4 +46,4 @@ def update_db():
alembic_cfg.set_main_option('sqlalchemy.url', f"sqlite:///{db_location}")
upgrade(alembic_cfg, 'head')
except Exception as e:
logger(f'数据库更新失败:{e}')
logger.error(f'数据库更新失败:{e}')