Merge pull request #1 from ParisNeo/patch-1

Patch 1
This commit is contained in:
Saifeddine ALOUI
2025-01-24 13:52:54 +01:00
committed by GitHub
3 changed files with 112 additions and 1 deletions

View File

@@ -1510,7 +1510,11 @@ def create_app(args):
return app
# Serve the static files
static_dir = Path(__file__).parent / "static"
static_dir.mkdir(exist_ok=True)
app.mount("/", StaticFiles(directory=static_dir, html=True), name="static")
def main():
args = parse_args()
import uvicorn