Repository navigation
Commit 15fb083
authored
docs(unity_ii_deeplink): fix .well-known instructions for static-site (#1473)
The Android and iOS deep-link setup told users to create
ii-bridge/public/.ic-assets.json5 with allow_raw_access — a legacy
asset-canister config the static-site (certified-assets) canister
ignores. Rewrite both to match how certified-assets actually serves
.well-known/:
- .well-known/ is uploaded automatically — no config needed. Dropped both
.ic-assets.json5 steps.
- assetlinks.json (.json extension) is served as application/json
automatically — Android needs nothing extra.
- apple-app-site-association is extensionless and defaults to
application/octet-stream; iOS requires application/json, so add a
ii-bridge/public/_headers Content-Type override (the certified-assets
replacement for the legacy canister's extension inference).
Verified on a local static-site deploy: assetlinks.json -> 200
application/json (auto); apple-app-site-association -> 200
application/octet-stream without, application/json with the _headers
override. Closes #1461.1 parent 7425a48 commit 15fb083
1 file changed
Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
188 | 188 | | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
| 189 | + | |
194 | 190 | | |
195 | 191 | | |
196 | 192 | | |
| |||
265 | 261 | | |
266 | 262 | | |
267 | 263 | | |
268 | | - | |
| 264 | + | |
269 | 265 | | |
270 | | - | |
271 | | - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
272 | 271 | | |
273 | 272 | | |
274 | | - | |
| 273 | + | |
275 | 274 | | |
276 | 275 | | |
277 | 276 | | |
| |||
0 commit comments