This commit is contained in:
Aevann1 2022-04-07 03:18:46 +02:00
parent f3e482c2eb
commit 440eb0aad1
3 changed files with 38 additions and 1 deletions

View file

@ -425,4 +425,11 @@ def settings_security(v):
@app.get("/.well-known/assetlinks.json")
def googleplayapp():
with open("files/assets/assetlinks.json", "r") as f:
return Response(f.read(), mimetype='application/json')
return Response(f.read(), mimetype='application/json')
@app.post("/dismiss_mobile_tip")
def dismiss_mobile_tip():
session["tooltip_last_dismissed"] = int(time.time())
return "", 204