Skip to content

Commit 4af0be2

Browse files
committed
Fix invalid URL is env.ts
1 parent e3c4d32 commit 4af0be2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const envSchema = z.object({
4343
SENTRY_PROJECT_ID: z.string().optional(),
4444
COOKIE_DOMAIN: z
4545
.string()
46-
.default(new URL(process.env.PUBLIC_URL ?? "localhost").hostname),
46+
.default(new URL(process.env.PUBLIC_URL ?? "http://localhost").hostname),
4747
});
4848

4949
export function validateEnv(

0 commit comments

Comments
 (0)