docs(vercel.json): ignore _payload.json in redirects

This commit is contained in:
Benjamin Canac
2024-01-31 13:52:00 +01:00
parent 89e15b90b1
commit f8ada8042a

View File

@@ -89,17 +89,17 @@
"permanent": true "permanent": true
}, },
{ {
"source": "/pro/components/header/:path(.*)", "source": "/pro/components/header/:path((?!_payload.json).*)",
"destination": "/pro/components/:path", "destination": "/pro/components/:path",
"permanent": true "permanent": true
}, },
{ {
"source": "/pro/components/main/:path(.*)", "source": "/pro/components/main/:path((?!_payload.json).*)",
"destination": "/pro/components/:path", "destination": "/pro/components/:path",
"permanent": true "permanent": true
}, },
{ {
"source": "/pro/components/footer/:path(.*)", "source": "/pro/components/footer/:path((?!_payload.json).*)",
"destination": "/pro/components/:path", "destination": "/pro/components/:path",
"permanent": true "permanent": true
}, },
@@ -119,12 +119,12 @@
"permanent": true "permanent": true
}, },
{ {
"source": "/pro/components/page/:path(.*)", "source": "/pro/components/page/:path((?!_payload.json).*)",
"destination": "/pro/components/:path", "destination": "/pro/components/:path",
"permanent": true "permanent": true
}, },
{ {
"source": "/pro/components/aside/:path(.*)", "source": "/pro/components/aside/:path((?!_payload.json).*)",
"destination": "/pro/components/:path", "destination": "/pro/components/:path",
"permanent": true "permanent": true
}, },