Skip to content

Commit

Permalink
Updated Sentry default token to avoid errors with older versions
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Apr 19, 2024
1 parent a797f2d commit 636ecf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SENTRY_ENABLED=false
SENTRY_DSN=https://url.to.sentry.io/1234567890
SENTRY_ORG=org
SENTRY_PROJECT=project
SENTRY_AUTH_TOKEN=sntrys_token_
SENTRY_AUTH_TOKEN=token

# Google Analytics and reCAPTCHA keys
NEXT_PUBLIC_RECAPTCHA_ENABLED=false
Expand Down
2 changes: 1 addition & 1 deletion utilities/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const schema = z.object( {
SENTRY_DSN: z.string().url(),
SENTRY_ORG: z.string().min( 1 ),
SENTRY_PROJECT: z.string().min( 1 ),
SENTRY_AUTH_TOKEN: z.string().min( 1 ).startsWith( "sntrys_" ),
SENTRY_AUTH_TOKEN: z.string().min( 1 ),

NEXT_PUBLIC_RECAPTCHA_ENABLED: z.enum( [ "true", "false" ] ),
NEXT_PUBLIC_RECAPTCHA_PUBLIC_KEY: z.string().length( 40 ).startsWith( "6Ld" ),
Expand Down

0 comments on commit 636ecf1

Please sign in to comment.