update project files
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ def create_app() -> FastAPI:
|
||||
# 静态文件
|
||||
app.mount("/static", StaticFiles(directory="app/static"), name="static")
|
||||
|
||||
# Phase 5: 论文图片静态服务
|
||||
# 论文图片静态服务
|
||||
papers_images_dir = os.path.join("data", "papers")
|
||||
os.makedirs(papers_images_dir, exist_ok=True)
|
||||
app.mount("/papers", StaticFiles(directory=papers_images_dir), name="papers")
|
||||
|
||||
Reference in New Issue
Block a user