cbv
This commit is contained in:
parent
dde8f99401
commit
cde629cecb
4 changed files with 15 additions and 1 deletions
Binary file not shown.
Binary file not shown.
9
files/assets/assetlinks.json
Normal file
9
files/assets/assetlinks.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
[{
|
||||||
|
"relation": ["delegate_permission/common.handle_all_urls"],
|
||||||
|
"target": {
|
||||||
|
"namespace": "android_app",
|
||||||
|
"package_name": "files",
|
||||||
|
"sha256_cert_fingerprints":
|
||||||
|
["ED:D9:72:9B:CD:61:52:18:AB:95:D0:21:BD:7F:04:6F:89:04:AC:B9:73:A2:2E:90:A5:2B:0C:13:F8:4A:EC:18"]
|
||||||
|
}
|
||||||
|
}]
|
|
@ -400,4 +400,9 @@ def settings_security(v):
|
||||||
return render_template("settings_security.html",
|
return render_template("settings_security.html",
|
||||||
v=v,
|
v=v,
|
||||||
mfa_secret=pyotp.random_base32() if not v.mfa_secret else None
|
mfa_secret=pyotp.random_base32() if not v.mfa_secret else None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@app.get("/.well-known/assetlinks.json")
|
||||||
|
def googleplayapp():
|
||||||
|
with open("files/assets/assetlinks.json", "r") as f:
|
||||||
|
return Response(f.read(), mimetype='application/json')
|
Loading…
Add table
Add a link
Reference in a new issue