SarahXia0405 commited on
Commit
c5f1e41
·
verified ·
1 Parent(s): e83859c

Update api/server.py

Browse files
Files changed (1) hide show
  1. api/server.py +1 -1
api/server.py CHANGED
@@ -31,7 +31,7 @@ REPO_ROOT = os.path.abspath(os.path.join(API_DIR, ".."))
31
  MODULE10_PATH = os.path.join(API_DIR, "module10_responsible_ai.pdf")
32
  MODULE10_DOC_TYPE = "Literature Review / Paper"
33
 
34
- WEB_DIST = os.path.join(REPO_ROOT, "web", "dist")
35
  WEB_INDEX = os.path.join(WEB_DIST, "index.html")
36
  WEB_ASSETS = os.path.join(WEB_DIST, "assets")
37
 
 
31
  MODULE10_PATH = os.path.join(API_DIR, "module10_responsible_ai.pdf")
32
  MODULE10_DOC_TYPE = "Literature Review / Paper"
33
 
34
+ WEB_DIST = os.path.join(os.path.dirname(__file__), "..", "web", "build")
35
  WEB_INDEX = os.path.join(WEB_DIST, "index.html")
36
  WEB_ASSETS = os.path.join(WEB_DIST, "assets")
37