We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 734c37c commit 2fe9d54Copy full SHA for 2fe9d54
cloud-function/src/middlewares/redirect-locale.ts
@@ -4,7 +4,8 @@ import { getLocale } from "../internal/locale-utils/index.js";
4
import { VALID_LOCALES } from "../internal/constants/index.js";
5
import { redirect } from "../utils.js";
6
7
-const NEEDS_LOCALE = /^\/(?:docs|search|settings|signin|signup|plus)(?:$|\/)/;
+const NEEDS_LOCALE =
8
+ /^\/(?:blog|curriculum|docs|play|search|settings|plus)(?:$|\/)/;
9
10
export async function redirectLocale(
11
req: Request,
0 commit comments