Skip to content

Commit d764b6a

Browse files
authored
chore: increase i18n fetch timeout to 30s for dev mode (#22912)
1 parent 87cb8b1 commit d764b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lib/server/i18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export async function loadTranslations(_locale: string, _ns: string) {
3535
{
3636
cache: process.env.NODE_ENV === "production" ? "force-cache" : "no-store",
3737
},
38-
3000
38+
process.env.NODE_ENV === "development" ? 30000 : 3000
3939
);
4040

4141
if (!response.ok) {

0 commit comments

Comments
 (0)