forked from rDrama/rDrama
fix browserconfig.xml (#30)
Co-authored-by: Aevann1 <randomname42029@gmail.com> Reviewed-on: rDrama/rDrama#30master
parent
cb1842f37b
commit
9893ede920
|
@ -2,7 +2,7 @@
|
|||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="/i/icon.webp?v=3009">
|
||||
<square150x150logo src="/icon.webp?v=1">
|
||||
<TileColor>#FF66AC</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
|
|
|
@ -269,6 +269,11 @@ def emoji(emoji):
|
|||
if not emoji.endswith('.webp'): abort(404)
|
||||
return static_file('assets/images/emojis', emoji, True, True)
|
||||
|
||||
@app.get('/icon.webp')
|
||||
@limiter.exempt
|
||||
def icon(path):
|
||||
return static_file('assets/images', f'{SITE_NAME}/icon.webp', True, True)
|
||||
|
||||
@app.get('/i/<path:path>')
|
||||
@limiter.exempt
|
||||
def image(path):
|
||||
|
|
Loading…
Reference in New Issue