Skip to content

Commit cd7c460

Browse files
Use CDN by default for JS SDK Loader (#3213)
Co-authored-by: Hubert Deng <[email protected]>
1 parent 22605fd commit cd7c460

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sentry/sentry.conf.example.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,5 +364,12 @@ def get_internal_network():
364364

365365
# CSRF_TRUSTED_ORIGINS = ["https://example.com", "http://127.0.0.1:9000"]
366366

367+
#################
368+
# JS SDK Loader #
369+
#################
370+
371+
JS_SDK_LOADER_DEFAULT_SDK_URL = "https://browser.sentry-cdn.com/%s/bundle%s.min.js"
372+
373+
367374
# If you would like to use self-hosted Sentry with only errors enabled, please set this
368375
SENTRY_SELF_HOSTED_ERRORS_ONLY = env("COMPOSE_PROFILES") != "feature-complete"

0 commit comments

Comments
 (0)