mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2025-03-04 06:51:24 +03:00
fix pep8
This commit is contained in:
parent
2f0e43a994
commit
120c84418b
3 changed files with 5 additions and 2 deletions
1
main.py
1
main.py
|
@ -18,6 +18,7 @@ app.mount('/.well-known/', StaticFiles(directory='./.well-known/'))
|
|||
async def app_ads(req, __):
|
||||
return FileResponse('./app-ads.txt')
|
||||
|
||||
|
||||
@app.exception_handler(404)
|
||||
async def not_found(req, __):
|
||||
return FileResponse('./src/web/html/error/404.html')
|
Loading…
Add table
Reference in a new issue