From 3cf6fef1593fd74884db60b69d9c43539a2dc9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Omar=20L=C3=B3pez?= Date: Wed, 9 Aug 2023 12:46:02 -0700 Subject: [PATCH] chore: disable locale detection (#10676) --- apps/web/next.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/web/next.config.js b/apps/web/next.config.js index 97c06df2ba..edcf79a2fa 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -127,7 +127,10 @@ const matcherConfigUserTypeEmbedRoute = { /** @type {import("next").NextConfig} */ const nextConfig = { - i18n, + i18n: { + ...i18n, + localeDetection: false, + }, productionBrowserSourceMaps: true, /* We already do type check on GH actions */ typescript: {