Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -15,6 +15,7 @@ app.add_middleware(
|
|
15 |
allow_methods=["*"],
|
16 |
allow_headers=["*"],
|
17 |
)
|
|
|
18 |
|
19 |
# ✅ Mount static folder (optional JS/CSS support)
|
20 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|
|
|
15 |
allow_methods=["*"],
|
16 |
allow_headers=["*"],
|
17 |
)
|
18 |
+
app.mount("/resources", StaticFiles(directory="resources"), name="resources")
|
19 |
|
20 |
# ✅ Mount static folder (optional JS/CSS support)
|
21 |
app.mount("/static", StaticFiles(directory="static"), name="static")
|