diff --git a/backend/main.py b/backend/main.py index e820ce528..df79a3106 100644 --- a/backend/main.py +++ b/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") if os.path.exists(FRONTEND_BUILD_DIR): - mimetypes.add_type('text/javascript', '.js') + mimetypes.add_type("text/javascript", ".js") app.mount( "/", SPAStaticFiles(directory=FRONTEND_BUILD_DIR, html=True),