From bd8cb26eb4074c640a29be231fdca0a696b553ba Mon Sep 17 00:00:00 2001 From: edenbd1 Date: Fri, 29 May 2026 10:08:47 +0200 Subject: [PATCH 1/2] fix: redirect /nox-protocol/ trailing slash to docs.noxprotocol.io The /nox-protocol/:path+ rule required at least one path segment, so /nox-protocol/ (with a trailing slash and empty path) matched neither it nor the bare /nox-protocol rule and returned a 404. Switch the source and destination to :path* so the trailing-slash case maps to the new domain root. --- vercel.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 88f5ded..76bbaec 100644 --- a/vercel.json +++ b/vercel.json @@ -5,8 +5,8 @@ "cleanUrls": true, "redirects": [ { - "source": "/nox-protocol/:path+", - "destination": "https://docs.noxprotocol.io/:path+", + "source": "/nox-protocol/:path*", + "destination": "https://docs.noxprotocol.io/:path*", "permanent": true }, { From f312e3dc61d925c17ea54e331236f1981dfa7821 Mon Sep 17 00:00:00 2001 From: edenbd1 Date: Fri, 29 May 2026 10:22:18 +0200 Subject: [PATCH 2/2] fix: redirect /nox-protocol/ trailing slash to docs.noxprotocol.io The /nox-protocol/:path+ rule required at least one path segment, so /nox-protocol/ (trailing slash, empty path) matched no redirect rule and returned a 404. The site had no trailing-slash normalization, so any /nox-protocol/.../ URL 404'd as well. Set trailingSlash: false so Vercel strips trailing slashes (308) before evaluating redirects, and switch the source/destination to :path* for consistency. /nox-protocol/ and deeper trailing-slash paths now redirect to docs.noxprotocol.io. --- vercel.json | 1 + 1 file changed, 1 insertion(+) diff --git a/vercel.json b/vercel.json index 76bbaec..a87d768 100644 --- a/vercel.json +++ b/vercel.json @@ -3,6 +3,7 @@ "buildCommand": "npm run build", "outputDirectory": ".vitepress/dist", "cleanUrls": true, + "trailingSlash": false, "redirects": [ { "source": "/nox-protocol/:path*",