diff --git a/scripts/build.js b/scripts/build.js index 67adc6c..533899b 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -127,14 +127,17 @@ function buildAppleAssociatedAppsFile(clients) { const appIds = clients.map(c => c.appleAssociatedAppId).flat().filter(id => !!id); return JSON.stringify({ "applinks": { - "details": { - appIDs: appIds, - components: [ - { - "#": "/*", // only open urls with a fragment, so you can still create links - } - ] - }, + "details": [ + { + appIDs: appIds, + components: [ + { + "#": "/*", + "comment": "Only open urls with a fragment, so you can still create links" + } + ] + } + ] } }); }