added static upload webpage. not yet connected to main.py

This commit is contained in:
2026-02-27 21:10:41 +01:00
parent 45397c069c
commit 93cb11d7bb
3 changed files with 71 additions and 1 deletions

View File

@@ -1,7 +1,10 @@
from fastapi import FastAPI
from fastapi.staticfiles import StaticFiles
app = FastAPI()
app.mount("/static", StaticFiles(directory="static"), name="static")
@app.get("/")
def read_root():