Browse Source

chore: format

Timothy J. Baek 11 months ago
parent
commit
771657266a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/main.py

+ 1 - 1
backend/main.py

@@ -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),