mirror of
https://github.com/Starlio-app/Starlio-web.git
synced 2024-12-24 01:13:46 +03:00
Фикс роутов
This commit is contained in:
parent
e030b60978
commit
752914349a
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -15,12 +15,12 @@ app.mount('/.well-known/', StaticFiles(directory='./.well-known/'))
|
|||
|
||||
|
||||
@app.route('/app-ads.txt')
|
||||
async def app_ads(req, __):
|
||||
async def app_ads(req):
|
||||
return FileResponse('./app-ads.txt')
|
||||
|
||||
|
||||
@app.route('/robots.txt')
|
||||
async def robots_txt(req, __):
|
||||
async def robots_txt(req):
|
||||
return FileResponse('./robots.txt')
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue