From 657861db26d69ddbdc0a4980b61562cb987cb38c Mon Sep 17 00:00:00 2001 From: Christian Krakau-Louis Date: Tue, 25 Mar 2025 21:20:32 +0100 Subject: [PATCH] removed fancy 404 --- app/frontend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/frontend.py b/app/frontend.py index 5d8565ec..219ee874 100644 --- a/app/frontend.py +++ b/app/frontend.py @@ -26,6 +26,6 @@ async def serve_upload(request: Request): def favicon(): return os.path.join(frontend_folder, "favicon.ico") -@router.exception_handler(404) +""" @router.exception_handler(404) async def custom_404_handler(request: Request, exc): - return FileResponse("frontend/404.html", status_code=status.HTTP_404_NOT_FOUND) \ No newline at end of file + return FileResponse("frontend/404.html", status_code=status.HTTP_404_NOT_FOUND) """ \ No newline at end of file