Spaces:
Build error
Build error
Commit
·
8ba5fe6
1
Parent(s):
3956b30
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
app = FastAPI()
|
7 |
|
8 |
-
static_directory = "/
|
9 |
app.mount("/", StaticFiles(directory=static_directory), name="static")
|
10 |
|
11 |
@app.get("/", response_class=FileResponse)
|
|
|
5 |
|
6 |
app = FastAPI()
|
7 |
|
8 |
+
static_directory = "/var/www/html"
|
9 |
app.mount("/", StaticFiles(directory=static_directory), name="static")
|
10 |
|
11 |
@app.get("/", response_class=FileResponse)
|