chore: remove extra fetching and get user locale from headers in settings pages (#18048)

* add settings pages to matcher

* fetch user locale from headers in settings pages
This commit is contained in:
Benny Joo authored and GitHub committed 2024-12-10 16:56:12 -07:00
1 parent 5ba676b014
commit a66eb9dfac
43 files changed
+92 -180

No files matched your search

+1 -2
View File
@@ -166,7 +166,6 @@ export const config = {
"/event-types",
"/future/event-types/",
"/settings/admin/:path*",
"/apps/installed/:category/",
"/future/apps/installed/:category/",
"/apps/:slug/",
@@ -179,7 +178,6 @@ export const config = {
"/future/apps/categories/:category/",
"/workflows/:path*",
"/future/workflows/:path*",
"/settings/teams/:path*",
"/getting-started/:step/",
"/future/getting-started/:step/",
"/apps",
@@ -189,6 +187,7 @@ export const config = {
"/future/video/:path*",
"/teams",
"/future/teams/",
"/settings/:path*",
],
};