Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions docs/platforms/javascript/common/install/loader.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ To use the loader, go in the Sentry UI to **Settings > Projects > (select projec

```html
<script
src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js"
src="https://js-de.sentry-cdn.com/___PUBLIC_KEY___.min.js"
crossorigin="anonymous"
></script>
```
Expand Down Expand Up @@ -91,7 +91,7 @@ Alternatively, you can set the loader to request the full SDK earlier: still as

```html
<script
src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js"
src="https://js-de.sentry-cdn.com/___PUBLIC_KEY___.min.js"
crossorigin="anonymous"
data-lazy="no"
></script>
Expand Down Expand Up @@ -140,7 +140,7 @@ The loader script always includes a call to `Sentry.init` with a default configu
</script>

<script
src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js"
src="https://js-de.sentry-cdn.com/___PUBLIC_KEY___.min.js"
crossorigin="anonymous"
></script>
```
Expand Down Expand Up @@ -183,7 +183,7 @@ If you want to call any other method when using the Loader, you have to guard it
};
</script>

<script src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js" crossorigin="anonymous"></script>
<script src="https://js-de.sentry-cdn.com/___PUBLIC_KEY___.min.js" crossorigin="anonymous"></script>

<script>
// Guard against window.Sentry not being available, e.g. due to Ad-blockers
Expand Down Expand Up @@ -220,7 +220,7 @@ If this is a critical issue for you, you have two options to ensure that all you
};
</script>

<script src="https://js.sentry-cdn.com/___PUBLIC_KEY___.min.js" crossorigin="anonymous"></script>
<script src="https://js-de.sentry-cdn.com/___PUBLIC_KEY___.min.js" crossorigin="anonymous"></script>

<script>
Sentry.onLoad(function () {
Expand Down Expand Up @@ -449,5 +449,5 @@ Without doing this you will find that it's possible for errors to occur before S

If you have a Content Security Policy (CSP) set up on your site, you will need to add the `script-src` of wherever you're loading the SDK from, and the origin of your DSN. For example:

- `script-src: https://browser.sentry-cdn.com https://js.sentry-cdn.com`
- `script-src: https://browser.sentry-cdn.com https://js-de.sentry-cdn.com`
- `connect-src: *.sentry.io`
Loading