mirror of
https://github.com/aykhans/portfolio-blog.git
synced 2025-04-15 02:23:12 +00:00
commit
f5da2cb51d
@ -36,4 +36,4 @@ async def validation_exception_handler(request, exc):
|
||||
|
||||
@app.exception_handler(404)
|
||||
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