feat: add apple-app-site-association

This commit is contained in:
DIYgod
2023-05-23 02:04:04 +01:00
parent 58d28d2cde
commit 325a605dc2
2 changed files with 29 additions and 0 deletions
+14
View File
@@ -121,5 +121,19 @@ module.exports = withBundleAnalyzer(
ENV_POAP_API_KEY: process.env.POAP_API_KEY,
ENV_OPENAI_API_KEY: process.env.OPENAI_API_KEY,
},
async headers() {
return [
{
source: "/.well-known/apple-app-site-association",
headers: [
{
key: "Content-Type",
value: "application/json",
},
],
},
]
},
}),
)
@@ -0,0 +1,15 @@
{
"applinks": {
"details": [
{
"appIDs": ["com.crossbell.xlog"],
"components": [
{
"/": "/*",
"comment": "Matches any URL whose path starts with /"
}
]
}
]
}
}