From 636ecf1cb33c1301afa072043ffc2da13675d5b4 Mon Sep 17 00:00:00 2001 From: Florian Trayon <26360935+FlorianLeChat@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:08:19 +0200 Subject: [PATCH] Updated Sentry default token to avoid errors with older versions --- .env | 2 +- utilities/env.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index d2a8abe..e6e39f2 100644 --- a/.env +++ b/.env @@ -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 diff --git a/utilities/env.ts b/utilities/env.ts index 91614fe..aff172d 100644 --- a/utilities/env.ts +++ b/utilities/env.ts @@ -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" ),