Browse Source

Adjusting Sentry Raven client to be loaded from CDN with new DSN

master
Mobius K 2 years ago
parent
commit
fec8d42d1a
  1. 7
      html/templates/layout.pug
  2. 2
      scripts/index.ts

7
html/templates/layout.pug

@ -1,3 +1,5 @@
include /shared/components/cdn-sentry
doctype html
html(lang="en")
@ -16,8 +18,9 @@ html(lang="en")
link(rel="stylesheet" href="/bluetooth-class.css")
link(rel="manifest" href="/manifest.json" crossorigin="use-credentials")
block scripts
script(src="/bluetooth-class.js" defer)
+raven
script(src="/bluetooth-class.js" defer)
body
.container

2
scripts/index.ts

@ -7,7 +7,7 @@ import { ErrorMonitor } from "shared/scripts/error-monitor";
if (environment.production) {
// Start the error watcher
new ErrorMonitor("https://ab6fd35ef01e438eb32719f4d92ee084@sentry.io/5178420");
new ErrorMonitor("https://ab6fd35ef01e438eb32719f4d92ee084@o127434.ingest.sentry.io/5178420");
// Load our service worker to enable PWA functionality
if ("serviceWorker" in navigator) {

Loading…
Cancel
Save