移除静态资源挂载
This commit is contained in:
parent
2976a1acf7
commit
d906ee6c55
2
main.py
2
main.py
|
@ -25,7 +25,7 @@ app.include_router(LOG)
|
||||||
app.include_router(AUTH)
|
app.include_router(AUTH)
|
||||||
app.include_router(SYNC_CONFIG)
|
app.include_router(SYNC_CONFIG)
|
||||||
|
|
||||||
app.mount("/", StaticFiles(directory="web/dist"), name="static")
|
# app.mount("/", StaticFiles(directory="web/dist"), name="static")
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
# workers 参数仅在命令行使用uvicorn启动时有效 或使用环境变量 WEB_CONCURRENCY
|
# workers 参数仅在命令行使用uvicorn启动时有效 或使用环境变量 WEB_CONCURRENCY
|
||||||
|
|
Loading…
Reference in New Issue