diff --git a/vercel.json b/vercel.json index 138571fd..78eb8dd7 100644 --- a/vercel.json +++ b/vercel.json @@ -381,6 +381,18 @@ "destination": "https://github.com/facebook/react/issues/18178#issuecomment-595846312", "permanent": false }, + { + "source": "/docs/error-decoder.html", + "has": [ + { + "type": "query", + "key": "invariant", + "value": "(?.*)" + } + ], + "destination": "https://react.dev/errors/:code", + "permanent": true + }, { "source": "/version/15.6", "destination": "https://react-legacy.netlify.app",