Skip to content

Commit bdf8793

Browse files
committed
Fix
1 parent 05bd25c commit bdf8793

2 files changed

Lines changed: 7 additions & 9 deletions

File tree

web/next.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ const nextConfig: NextConfig = {
112112
},
113113
async redirects() {
114114
return [
115+
{
116+
source: '/((?!\\.well-known/assetlinks\\.json).*)',
117+
has: [{type: 'host', value: 'compassmeet.com'}],
118+
destination: 'https://www.compassmeet.com/:path*',
119+
permanent: true,
120+
},
115121
{source: '/discord', destination: 'https://discord.gg/8Vd7jzqjun', permanent: false},
116122
{source: '/patreon', destination: 'https://patreon.com/CompassMeet', permanent: false},
117123
{

web/vercel.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,5 @@
99
"headers": [{"key": "Cache-Control", "value": "no-cache"}]
1010
}
1111
],
12-
"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/",
13-
"redirects": [
14-
{
15-
"source": "/((?!\\.well-known/assetlinks\\.json).*)",
16-
"has": [{"type": "host", "value": "compassmeet.com"}],
17-
"destination": "https://www.compassmeet.com/.well-known/assetlinks.json",
18-
"permanent": true
19-
}
20-
]
12+
"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/"
2113
}

0 commit comments

Comments
 (0)