Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,8 @@ async def startup_event():
|
|
17 |
print("Migration error:", e)
|
18 |
|
19 |
# Path to the built frontend
|
20 |
-
FRONTEND_DIR = os.path.join(os.getcwd(), "
|
|
|
21 |
|
22 |
# Serve static assets if the frontend exists
|
23 |
if os.path.isdir(FRONTEND_DIR):
|
|
|
17 |
print("Migration error:", e)
|
18 |
|
19 |
# Path to the built frontend
|
20 |
+
FRONTEND_DIR = os.path.join(os.getcwd(), "frontend_dist")
|
21 |
+
|
22 |
|
23 |
# Serve static assets if the frontend exists
|
24 |
if os.path.isdir(FRONTEND_DIR):
|