This commit is contained in:
Данил 2024-09-18 21:31:09 +03:00
parent e4b236158c
commit 912f70eddb

View file

@ -1,6 +1,6 @@
from fastapi.staticfiles import StaticFiles
from starlette.responses import FileResponse
from fastapi import FastAPI, APIRouter
from fastapi import FastAPI
from src.routes import index
from src.routes import wallpaper
@ -21,4 +21,4 @@ async def app_ads(req, __):
@app.exception_handler(404)
async def not_found(req, __):
return FileResponse('./src/web/html/error/404.html')
return FileResponse('./src/web/html/error/404.html')