feat: Add assetlinks.json
All checks were successful
Build Docker / BuildImage (push) Successful in 45s

This commit is contained in:
Nathan Woodburn 2025-01-29 20:59:59 +11:00
parent de476eb7ab
commit f940f4418d
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": {
"namespace": "android_app",
"package_name": "au.woodburn.nathan",
"sha256_cert_fingerprints": ["3F:C7:09:DE:FA:79:69:25:80:CB:23:A0:CE:5E:50:BB:BC:00:70:30:55:E8:15:70:FA:F9:4E:97:1E:39:59:7B"]
}
}]

View File

@ -944,6 +944,11 @@ def download(path):
return send_file(path)
return render_template("404.html"), 404
@app.route("/.well-known/<path:path>")
def wellknown(path):
return send_from_directory(".well-known", path)
@app.route("/<path:path>")
def catch_all(path: str):
global handshake_scripts