From 90f1a428352dd07465e324c07f182d1b8794e61e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 18 Feb 2022 12:24:10 +0200 Subject: [PATCH] cbv --- files/routes/static.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index 0e72c8911..1e9afc85f 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -400,4 +400,9 @@ def settings_security(v): return render_template("settings_security.html", v=v, mfa_secret=pyotp.random_base32() if not v.mfa_secret else None - ) \ No newline at end of file + ) + +@app.get("/.well-known/assetlinks.json") +def googleplayapp(): + with open("files/assets/assetlinks.json", "r") as f: + return Response(f.read(), mimetype='application/json') \ No newline at end of file