Skip to content

Commit acda1ea

Browse files
committed
Fixed Zod verification prefixes for reCAPTCHA environment variables
1 parent 32c5371 commit acda1ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilities/env.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const schema = z.object( {
1919
SENTRY_AUTH_TOKEN: z.string().min( 1 ),
2020

2121
NEXT_PUBLIC_RECAPTCHA_ENABLED: z.enum( [ "true", "false" ] ),
22-
NEXT_PUBLIC_RECAPTCHA_PUBLIC_KEY: z.string().length( 40 ).startsWith( "6Ld" ),
23-
RECAPTCHA_SECRET_KEY: z.string().length( 40 ).startsWith( "6Ld" ),
22+
NEXT_PUBLIC_RECAPTCHA_PUBLIC_KEY: z.string().length( 40 ).startsWith( "6L" ),
23+
RECAPTCHA_SECRET_KEY: z.string().length( 40 ).startsWith( "6L" ),
2424

2525
NEXT_PUBLIC_ANALYTICS_ENABLED: z.enum( [ "true", "false" ] ),
2626
NEXT_PUBLIC_ANALYTICS_TAG: z.string().length( 12 ).startsWith( "G-" ),

0 commit comments

Comments
 (0)