This commit is contained in:
cjw
2026-02-16 03:01:22 +08:00
parent 5ee99413e5
commit a0bc6afb21
3 changed files with 20 additions and 250 deletions
-4
View File
@@ -96,10 +96,6 @@ import os
static_dir = os.path.join(os.getcwd(), "static")
app.mount("/static", StaticFiles(directory=static_dir), name="static")
# 挂载HTML输出目录
html_output_dir = os.path.join(os.getcwd(), "html_output")
app.mount("/html-output", StaticFiles(directory=html_output_dir), name="html_output")
# 注册路由
app.include_router(router)