Skip to content

Commit d09ce2b

Browse files
committed
fix(frontend): exclude /internal from i18n matcher in proxy.ts
1 parent 86f6dab commit d09ce2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/proxy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ export const config = {
77
matcher: [
88
// Match all pathnames except:
99
// - API routes starting with /api
10+
// - Internal routes (for runtime config)
1011
// - Next.js internals (_next)
1112
// - Static files with extensions
12-
'/((?!api|_next|.*\\..*).*)'
13+
'/((?!api|internal|_next|.*\\..*).*)'
1314
],
1415
};

0 commit comments

Comments
 (0)