Skip to content

Scheduling infrastructure for absolutely everyone.

Locale fixes

zomars9c35ff2d2e80
diff --git a/next.config.js b/next.config.js
index 96628747485..0e22193499f 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,
},
],
};