Update main.py

This commit is contained in:
qiaofeng1227 2023-03-16 15:12:16 +08:00 committed by GitHub
parent ca6e7250a0
commit ef2d73cb44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ def get_app():
allow_methods=["*"],
allow_headers=["*"],
)
app.mount("/static", StaticFiles(directory="static"), name="static")
app.include_router(api_router_v1.get_api(), prefix="/api/v1")
return app