Karan Goel commited on
Commit
2a9f4b7
ยท
1 Parent(s): e3adc12
Files changed (1) hide show
  1. tutorial-1.py +2 -2
tutorial-1.py CHANGED
@@ -64,8 +64,8 @@ from fastapi.staticfiles import StaticFiles
64
  # "*.js",
65
  # )
66
  from meerkat.constants import PathHelper
67
- print(PathHelper.appdir)
68
  print("Mounting static files...")
69
- page().mount("/", StaticFiles(directory=os.path.abspath(PathHelper.appdir + "build/"), html=True), "test")
70
  # page().mount("/static", StaticFiles(directory=os.path.abspath("./temp/"),html = True), "test")
71
  page.launch()
 
64
  # "*.js",
65
  # )
66
  from meerkat.constants import PathHelper
67
+ print(PathHelper().appdir)
68
  print("Mounting static files...")
69
+ page().mount("/", StaticFiles(directory=os.path.abspath(PathHelper().appdir + "build/"), html=True), "test")
70
  # page().mount("/static", StaticFiles(directory=os.path.abspath("./temp/"),html = True), "test")
71
  page.launch()