From 9c35ff2d2e8086c0e1091f4f3afbf67901012cdf Mon Sep 17 00:00:00 2001 From: zomars Date: Fri, 14 Oct 2022 11:42:31 -0600 Subject: [PATCH] Locale fixes --- next.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/next.config.js b/next.config.js index 9662874748..0e22193499 100644 --- a/next.config.js +++ b/next.config.js @@ -26,11 +26,13 @@ module.exports = withAxiom( { source: "/v:version/:rest*", destination: "/api/v:version/:rest*", + locale: false, }, // This redirects requests to api/v*/ to /api/ passing version as a query parameter. { source: "/api/v:version/:rest*", destination: "/api/:rest*?version=:version", + locale: false, }, ], fallback: [ @@ -39,6 +41,7 @@ module.exports = withAxiom( { source: "/:path*", destination: `/api/:path*`, + locale: false, }, ], };