This commit is contained in:
MartinBraquet
2026-04-01 22:04:57 +02:00
parent 05bd25c9ab
commit bdf8793d4a
2 changed files with 7 additions and 9 deletions

View File

@@ -112,6 +112,12 @@ const nextConfig: NextConfig = {
},
async redirects() {
return [
{
source: '/((?!\\.well-known/assetlinks\\.json).*)',
has: [{type: 'host', value: 'compassmeet.com'}],
destination: 'https://www.compassmeet.com/:path*',
permanent: true,
},
{source: '/discord', destination: 'https://discord.gg/8Vd7jzqjun', permanent: false},
{source: '/patreon', destination: 'https://patreon.com/CompassMeet', permanent: false},
{

View File

@@ -9,13 +9,5 @@
"headers": [{"key": "Cache-Control", "value": "no-cache"}]
}
],
"ignoreCommand": "git fetch --unshallow 2>/dev/null && echo $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA && git diff $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA --quiet -- ./ ../common/",
"redirects": [
{
"source": "/((?!\\.well-known/assetlinks\\.json).*)",
"has": [{"type": "host", "value": "compassmeet.com"}],
"destination": "https://www.compassmeet.com/.well-known/assetlinks.json",
"permanent": true
}
]
"ignoreCommand": "git fetch --unshallow 2>/dev/null && echo $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA && git diff $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA --quiet -- ./ ../common/"
}