cicd: fix sentry integration

This commit is contained in:
Jean-Baptiste Pasquier 2020-10-08 10:21:36 +02:00
parent a356e01026
commit 2c539947a5
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,8 @@
if(typeof Sentry !== 'undefined') {
Sentry.init({ Sentry.init({
dsn: 'https://b4b29557689049a39168599577adb940@sentry.startinblox.com/4', dsn: 'https://b4b29557689049a39168599577adb940@sentry.startinblox.com/4',
integrations: [new Sentry.Integrations.BrowserTracing()], integrations: [new Sentry.Integrations.BrowserTracing()],
environment: document.location.hostname, environment: document.location.hostname,
tracesSampleRate: 1.0, tracesSampleRate: 1.0,
}); });
}

View File

@ -1,4 +1,4 @@
script(src="https://browser.sentry-cdn.com/5.24.2/bundle.tracing.min.js" integrity="sha384-Epltozh7S1cJM2hcIRDJBbqiiVpZsNlFCciHxKIAfKN8mSTa+gMivtz7glp/30Mz" crossorigin="anonymous" defer) script(src="https://browser.sentry-cdn.com/5.25.0/bundle.tracing.min.js" defer)
script(type="module" src="/components/sentry.js" defer) script(type="module" src="/components/sentry.js" defer)
script(type="module" src="/components/hubl-search-users.js" defer) script(type="module" src="/components/hubl-search-users.js" defer)
script(type="module" src="/components/hubl-status.js" defer) script(type="module" src="/components/hubl-status.js" defer)