diff --git a/apps/web/vercel.json b/apps/web/vercel.json index e0853f6..1483ca2 100644 --- a/apps/web/vercel.json +++ b/apps/web/vercel.json @@ -1,10 +1,13 @@ { "cleanUrls": true, - "rewrites": [ + "redirects": [ { "source": "/.well-known/security.txt", - "destination": "/well-known/security.txt" - }, + "destination": "/well-known/security.txt", + "permanent": true + } + ], + "rewrites": [ { "source": "/((?!assets/|robots\\.txt|sitemap\\.xml|well-known/|.*\\.(?:png|jpg|jpeg|gif|svg|ico|txt|js|css)$).*)", "destination": "/index.html" diff --git a/vercel.json b/vercel.json index e0853f6..1483ca2 100644 --- a/vercel.json +++ b/vercel.json @@ -1,10 +1,13 @@ { "cleanUrls": true, - "rewrites": [ + "redirects": [ { "source": "/.well-known/security.txt", - "destination": "/well-known/security.txt" - }, + "destination": "/well-known/security.txt", + "permanent": true + } + ], + "rewrites": [ { "source": "/((?!assets/|robots\\.txt|sitemap\\.xml|well-known/|.*\\.(?:png|jpg|jpeg|gif|svg|ico|txt|js|css)$).*)", "destination": "/index.html"