fix /icon.webp

pull/1/head
Aevann1 2022-11-30 01:56:11 +02:00
parent 0af31dd658
commit de8a45412b
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def emoji(emoji):
@app.get('/icon.webp')
@limiter.exempt
def icon(path):
def icon():
return static_file('assets/images', f'{SITE_NAME}/icon.webp', True, True)
@app.get('/i/<path:path>')