Skip to content

Commit 2bcd447

Browse files
committed
fix(frontend): add root path to middleware matcher for locale redirect
1 parent d09ce2b commit 2bcd447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frontend/proxy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ export default createMiddleware(routing);
55

66
export const config = {
77
matcher: [
8+
// Match root path for locale redirect
9+
'/',
810
// Match all pathnames except:
911
// - API routes starting with /api
1012
// - Internal routes (for runtime config)

0 commit comments

Comments
 (0)