Karan Goel commited on
Commit
f10fd3d
ยท
1 Parent(s): ffb5c9f
Files changed (1) hide show
  1. tutorial-1.py +3 -1
tutorial-1.py CHANGED
@@ -63,7 +63,9 @@ from fastapi.staticfiles import StaticFiles
63
  # f'VITE_API_URL||"{api_url}"',
64
  # "*.js",
65
  # )
 
 
66
  print("Mounting static files...")
67
- page().mount("/", StaticFiles(directory=os.path.abspath("./meerkat/interactive/app/build/"), html=True), "test")
68
  # page().mount("/static", StaticFiles(directory=os.path.abspath("./temp/"),html = True), "test")
69
  page.launch()
 
63
  # f'VITE_API_URL||"{api_url}"',
64
  # "*.js",
65
  # )
66
+ from meerkat.constants import MEERKAT_APP_DIR
67
+ print(MEERKAT_APP_DIR)
68
  print("Mounting static files...")
69
+ page().mount("/", StaticFiles(directory=os.path.abspath(MEERKAT_APP_DIR + "build/"), html=True), "test")
70
  # page().mount("/static", StaticFiles(directory=os.path.abspath("./temp/"),html = True), "test")
71
  page.launch()