mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2026-10-21 09:48:29 +00:00
1 file changed
+1
-1
+1
-1
@@ -36,4 +36,4 @@ async def validation_exception_handler(request, exc):
|
|||||||
|
|
||||||
@app.exception_handler(404)
|
@app.exception_handler(404)
|
||||||
async def custom_404_handler(_, __):
|
async def custom_404_handler(_, __):
|
||||||
return FileResponse(settings.STATIC_FOLDER / '404.jpg') #
|
return FileResponse(settings.STATIC_FOLDER / '404.jpg')
|
||||||
Reference in new issue
Block a user