mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2025-04-16 19:03:11 +00:00
commit
f5da2cb51d
@ -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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user