tweak app clip AASA (#4641)

zio/stable
Hailey 2024-06-25 10:34:17 -07:00 committed by GitHub
parent 58a9dceb33
commit b75341314c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 3 deletions

View File

@ -5,6 +5,15 @@ import {AppContext} from '../context.js'
export default function (ctx: AppContext, app: Express) { export default function (ctx: AppContext, app: Express) {
return app.get('/.well-known/apple-app-site-association', (req, res) => { return app.get('/.well-known/apple-app-site-association', (req, res) => {
res.json({ res.json({
applinks: {
apps: [],
details: [
{
appID: 'B3LX46C5HS.xyz.blueskyweb.app',
paths: ['*'],
},
],
},
appclips: { appclips: {
apps: ['B3LX46C5HS.xyz.blueskyweb.app.AppClip'], apps: ['B3LX46C5HS.xyz.blueskyweb.app.AppClip'],
}, },

View File

@ -1,8 +1,5 @@
{ {
"applinks": { "applinks": {
"appclips": {
"apps": ["B3LX46C5HS.xyz.blueskyweb.app.AppClip"]
},
"details": [ "details": [
{ {
"appID": "B3LX46C5HS.xyz.blueskyweb.app", "appID": "B3LX46C5HS.xyz.blueskyweb.app",
@ -11,5 +8,8 @@
] ]
} }
] ]
},
"appclips": {
"apps": ["B3LX46C5HS.xyz.blueskyweb.app.AppClip"]
} }
} }