From b75341314cf7551644d12a7281ab22c855c78233 Mon Sep 17 00:00:00 2001 From: Hailey Date: Tue, 25 Jun 2024 10:34:17 -0700 Subject: [PATCH] tweak app clip AASA (#4641) --- bskylink/src/routes/siteAssociation.ts | 9 +++++++++ bskyweb/static/.well-known/apple-app-site-association | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/bskylink/src/routes/siteAssociation.ts b/bskylink/src/routes/siteAssociation.ts index ae3b42e3..7b71ccdd 100644 --- a/bskylink/src/routes/siteAssociation.ts +++ b/bskylink/src/routes/siteAssociation.ts @@ -5,6 +5,15 @@ import {AppContext} from '../context.js' export default function (ctx: AppContext, app: Express) { return app.get('/.well-known/apple-app-site-association', (req, res) => { res.json({ + applinks: { + apps: [], + details: [ + { + appID: 'B3LX46C5HS.xyz.blueskyweb.app', + paths: ['*'], + }, + ], + }, appclips: { apps: ['B3LX46C5HS.xyz.blueskyweb.app.AppClip'], }, diff --git a/bskyweb/static/.well-known/apple-app-site-association b/bskyweb/static/.well-known/apple-app-site-association index 0a05fa35..f5752d7c 100644 --- a/bskyweb/static/.well-known/apple-app-site-association +++ b/bskyweb/static/.well-known/apple-app-site-association @@ -1,8 +1,5 @@ { "applinks": { - "appclips": { - "apps": ["B3LX46C5HS.xyz.blueskyweb.app.AppClip"] - }, "details": [ { "appID": "B3LX46C5HS.xyz.blueskyweb.app", @@ -11,5 +8,8 @@ ] } ] + }, + "appclips": { + "apps": ["B3LX46C5HS.xyz.blueskyweb.app.AppClip"] } }