Skip to content

Commit 636ecf1

Browse files
committed
Updated Sentry default token to avoid errors with older versions
1 parent a797f2d commit 636ecf1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ SENTRY_ENABLED=false
1111
SENTRY_DSN=https://url.to.sentry.io/1234567890
1212
SENTRY_ORG=org
1313
SENTRY_PROJECT=project
14-
SENTRY_AUTH_TOKEN=sntrys_token_
14+
SENTRY_AUTH_TOKEN=token
1515

1616
# Google Analytics and reCAPTCHA keys
1717
NEXT_PUBLIC_RECAPTCHA_ENABLED=false

utilities/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const schema = z.object( {
1616
SENTRY_DSN: z.string().url(),
1717
SENTRY_ORG: z.string().min( 1 ),
1818
SENTRY_PROJECT: z.string().min( 1 ),
19-
SENTRY_AUTH_TOKEN: z.string().min( 1 ).startsWith( "sntrys_" ),
19+
SENTRY_AUTH_TOKEN: z.string().min( 1 ),
2020

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

0 commit comments

Comments
 (0)