移除静态资源挂载

This commit is contained in:
yystopf 2024-06-12 09:04:10 +08:00
parent 2976a1acf7
commit d906ee6c55
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ app.include_router(LOG)
app.include_router(AUTH)
app.include_router(SYNC_CONFIG)
app.mount("/", StaticFiles(directory="web/dist"), name="static")
# app.mount("/", StaticFiles(directory="web/dist"), name="static")
if __name__ == '__main__':
# workers 参数仅在命令行使用uvicorn启动时有效 或使用环境变量 WEB_CONCURRENCY