Use CDN by default for JS SDK Loader (#3213)

Co-authored-by: Hubert Deng <hubert.deng@sentry.io>
This commit is contained in:
Alex Bouma 2024-07-30 22:29:14 +02:00 committed by GitHub
parent 22605fd745
commit cd7c460e15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"