diff --git a/.well-known/assetlinks.json b/.well-known/assetlinks.json new file mode 100644 index 0000000..e582bc0 --- /dev/null +++ b/.well-known/assetlinks.json @@ -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"] + } + }] diff --git a/server.py b/server.py index 10a8012..9fe7c52 100644 --- a/server.py +++ b/server.py @@ -944,6 +944,11 @@ def download(path): return send_file(path) return render_template("404.html"), 404 +@app.route("/.well-known/") +def wellknown(path): + return send_from_directory(".well-known", path) + + @app.route("/") def catch_all(path: str): global handshake_scripts