mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-02 22:15:23 -04:00
Fix
This commit is contained in:
@@ -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},
|
||||
{
|
||||
|
||||
@@ -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/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user