We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64fb255 commit 63ead8aCopy full SHA for 63ead8a
App/app.py
@@ -34,22 +34,22 @@
34
@app.route("/")
35
async def serve_index():
36
return await send_from_directory(
37
- os.path.join(app.root_path,"build"), "index.html"
+ os.path.join(app.root_path,"static"), "index.html"
38
)
39
40
41
@app.route("/favicon.ico")
42
async def favicon():
43
44
- os.path.join(app.root_path,"build"),
+ os.path.join(app.root_path,"static"),
45
"favicon.ico",
46
mimetype="image/x-icon",
47
48
49
50
# Serve static files (JS, CSS, images, etc.)
51
@app.route("/static/<path:path>")
52
-async def assets(path):
+async def static_files(path):
53
54
os.path.join(app.root_path, "static"), path
55
0 commit comments