Spaces:
Sleeping
Sleeping
Update backend/main.py
Browse files- backend/main.py +2 -1
backend/main.py
CHANGED
|
@@ -144,4 +144,5 @@ async def ask_question(request: QuestionRequest):
|
|
| 144 |
async def health_check():
|
| 145 |
return {"status": "healthy"}
|
| 146 |
|
| 147 |
-
app.mount("/", StaticFiles(directory="../frontend/build", html=True), name="frontend")
|
|
|
|
|
|
| 144 |
async def health_check():
|
| 145 |
return {"status": "healthy"}
|
| 146 |
|
| 147 |
+
# app.mount("/", StaticFiles(directory="../frontend/build", html=True), name="frontend")
|
| 148 |
+
app.mount("/", StaticFiles(directory=os.path.join(os.path.dirname(os.path.dirname(__file__)), "frontend", "build"), html=True), name="frontend")
|