Rivary commited on
Commit
eaa26ca
·
verified ·
1 Parent(s): e981cbd

Update static/script.js

Browse files
Files changed (1) hide show
  1. static/script.js +5 -0
static/script.js CHANGED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ app.mount("/", StaticFiles(directory="static", html=True), name="static")
2
+
3
+ @app.get("/")
4
+ def index() -> FileResponse:
5
+ return FileResponse(path="/app/static/index.html", media_type="text/html")