Permalink
Browse files

include sentry js (v4.5.3) and add integrity attribute

  • Loading branch information...
janoside committed Feb 12, 2019
1 parent 69ab754 commit 727323d023d008958e1e5777f71f156c5f588641
Showing with 4 additions and 1 deletion.
  1. +3 −0 public/js/sentry.min.js
  2. +1 −1 views/layout.pug

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -181,7 +181,7 @@ html(lang="en")
hljs.initHighlightingOnLoad();

if (config.credentials.sentryUrl && config.credentials.sentryUrl.length > 0)
script(src="https://browser.sentry-cdn.com/4.0.4/bundle.min.js", crossorigin="anonymous")
script(src="/js/sentry.min.js", integrity="sha384-da/Bo2Ah6Uw3mlhl6VINMblg2SyGbSnULKrukse3P5D9PTJi4np9HoKvR19D7zOL", crossorigin="anonymous")
script.
Sentry.init({ dsn: '#{config.credentials.sentryUrl}' });

0 comments on commit 727323d

Please sign in to comment.