Commit 77165726 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

chore: format

parent 45bd0f2a
...@@ -409,7 +409,7 @@ app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static") ...@@ -409,7 +409,7 @@ app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")
app.mount("/cache", StaticFiles(directory=CACHE_DIR), name="cache") app.mount("/cache", StaticFiles(directory=CACHE_DIR), name="cache")
if os.path.exists(FRONTEND_BUILD_DIR): if os.path.exists(FRONTEND_BUILD_DIR):
mimetypes.add_type('text/javascript', '.js') mimetypes.add_type("text/javascript", ".js")
app.mount( app.mount(
"/", "/",
SPAStaticFiles(directory=FRONTEND_BUILD_DIR, html=True), SPAStaticFiles(directory=FRONTEND_BUILD_DIR, html=True),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment