Updated favicon and fixed apple-touch-icon 404

This commit is contained in:
Dylan
2023-07-15 18:02:24 +01:00
parent 10a4eb3091
commit a78f23e28b
4 changed files with 4 additions and 1 deletions

View File

@ -204,6 +204,10 @@ def dir(sub_path):
def favicon(): # pragma: no cover
return send_from_directory(os.path.join(app.root_path, 'static'), 'favicon.ico',mimetype='image/vnd.microsoft.icon')
@app.route('/apple-touch-icon.png')
def apple_touch_icon(): # pragma: no cover
return send_from_directory(os.path.join(app.root_path, 'static'), 'apple-touch-icon.png',mimetype='image/png')
@app.route("/rendercombined.jpg")
def rendercombined():
# get "imgs" from request arguments