Fix NameError: app not defined - add missing FastAPI initialization
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
fc3cd21e21
commit
9e3d861f3d
@ -110,6 +110,8 @@ def _fix_template_parameters():
|
||||
|
||||
_fix_template_parameters()
|
||||
|
||||
app = FastAPI(title="Multi-Event Invitation Management API")
|
||||
|
||||
# Ensure uploads directory exists and serve it as static files
|
||||
UPLOADS_DIR = Path(__file__).parent / "uploads"
|
||||
UPLOADS_DIR.mkdir(exist_ok=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user