sepidnes commited on
Commit
6f990d2
·
verified ·
1 Parent(s): d2a06a4

Update backend/main.py

Browse files
Files changed (1) hide show
  1. 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")