From 0c60e8a8652ce69deae96d432b9a67c5c7ffbff9 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Wed, 1 Apr 2026 21:35:36 +0200 Subject: [PATCH] Add rewrites and redirects for `.well-known/assetlinks.json` and `compassmeet.com` domain --- web/vercel.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/web/vercel.json b/web/vercel.json index 19630ece..9044e769 100644 --- a/web/vercel.json +++ b/web/vercel.json @@ -9,5 +9,19 @@ "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/" + "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/", + "rewrites": [ + { + "source": "/.well-known/assetlinks.json", + "destination": "/.well-known/assetlinks.json" + } + ], + "redirects": [ + { + "source": "/((?!.well-known/assetlinks.json).*)", + "has": [{"type": "host", "value": "compassmeet.com"}], + "destination": "https://www.compassmeet.com/:path*", + "permanent": true + } + ] }