From cd7c460e15f7986bf206c3ea4c7e6cafa607604f Mon Sep 17 00:00:00 2001 From: Alex Bouma Date: Tue, 30 Jul 2024 22:29:14 +0200 Subject: [PATCH] Use CDN by default for JS SDK Loader (#3213) Co-authored-by: Hubert Deng --- sentry/sentry.conf.example.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sentry/sentry.conf.example.py b/sentry/sentry.conf.example.py index 144d94b..d39be66 100644 --- a/sentry/sentry.conf.example.py +++ b/sentry/sentry.conf.example.py @@ -364,5 +364,12 @@ CSP_REPORT_ONLY = True # CSRF_TRUSTED_ORIGINS = ["https://example.com", "http://127.0.0.1:9000"] +################# +# JS SDK Loader # +################# + +JS_SDK_LOADER_DEFAULT_SDK_URL = "https://browser.sentry-cdn.com/%s/bundle%s.min.js" + + # If you would like to use self-hosted Sentry with only errors enabled, please set this SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete"