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

Update backend/main.py

Browse files
Files changed (1) hide show
  1. backend/main.py +1 -2
backend/main.py CHANGED
@@ -144,5 +144,4 @@ 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")
148
- app.mount("/", StaticFiles(directory=os.path.join(os.path.dirname(os.path.dirname(__file__)), "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")