Skip to content

Commit

Permalink
settings: update Sentry loader script address
Browse files Browse the repository at this point in the history
Since the organization changed
  • Loading branch information
xavfernandez committed Dec 11, 2024
1 parent edae107 commit 5c5350a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion inclusion_connect/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@
"'self'",
# https://docs.sentry.io/platforms/javascript/install/loader/#content-security-policy
"https://browser.sentry-cdn.com",
"https://js.sentry-cdn.com",
"https://js-de.sentry-cdn.com",
]
CSP_CONNECT_SRC = ["'self'", "*.sentry.io"]
CSP_OBJECT_SRC = ["'none'"]
Expand Down
2 changes: 1 addition & 1 deletion inclusion_connect/templates/layout/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="stylesheet" href="{% static "css/inclusion_connect.css" %}">

{% if not debug %}
<script src="https://js.sentry-cdn.com/d9163858ff954fc9a789fcb17662e1d2.min.js" crossorigin="anonymous"></script>
<script src="https://js-de.sentry-cdn.com/2e783f79f9df11a617ac43719eee20bf.min.js" crossorigin="anonymous"></script>
{% endif %}

{% block extra_head %}{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion tests/__snapshots__/test_builtin_views.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link href="/static/css/inclusion_connect.css" rel="stylesheet"/>


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



Expand Down
2 changes: 1 addition & 1 deletion tests/__snapshots__/test_homepage.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link href="/static/css/inclusion_connect.css" rel="stylesheet"/>


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



Expand Down

0 comments on commit 5c5350a

Please sign in to comment.