Merge pull request #2441 from basecamp/mobile/verify-app-links
Add the public Digital Asset Links file to verify app links on Android
This commit is contained in:
@@ -17,6 +17,11 @@ module Fizzy
|
||||
app.config.assets.paths << root.join("app/assets/stylesheets")
|
||||
end
|
||||
|
||||
initializer "fizzy_saas.public_files" do |app|
|
||||
app.middleware.insert_after ActionDispatch::Static, ActionDispatch::Static, root.join("public").to_s,
|
||||
headers: app.config.public_file_server.headers
|
||||
end
|
||||
|
||||
initializer "fizzy.saas.routes", after: :add_routing_paths do |app|
|
||||
# Routes that rely on the implicit account tenant should go here instead of in +routes.rb+.
|
||||
app.routes.prepend do
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
[
|
||||
{
|
||||
"relation": ["delegate_permission/common.handle_all_urls"],
|
||||
"target": {
|
||||
"namespace": "android_app",
|
||||
"package_name": "do.fizzy.app",
|
||||
"sha256_cert_fingerprints":
|
||||
["3B:17:E4:FF:F0:2E:E0:CE:D7:94:F9:9E:71:3C:A8:14:7C:FA:B7:F2:99:35:98:03:E9:E0:EB:B3:6E:12:E2:0F"]
|
||||
}
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user