Update main.py

This commit is contained in:
qiaofeng1227 2023-04-21 10:29:44 +08:00 committed by GitHub
parent 4fbe410802
commit a5f57b18f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ def get_app():
allow_headers=["*"], allow_headers=["*"],
) )
app.mount("/static", StaticFiles(directory="static"), name="static") app.mount("/static", StaticFiles(directory="static"), name="static")
app.include_router(api_router_v1.get_api(), prefix="/AppManage") app.include_router(api_router_v1.get_api())
return app return app
@app.get("/docs", include_in_schema=False) @app.get("/docs", include_in_schema=False)