1
0

feat: add vite-plugin sentry

This commit is contained in:
Dominik Pschenitschni
2022-05-22 16:20:06 +02:00
committed by kolaente
parent 389ca1b692
commit 73947f0ba4
9 changed files with 89 additions and 22 deletions

View File

@ -18,12 +18,12 @@
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script>
//
//
// This variable points the frontend to the api.
// It has to be the full url, including the last /api/v1 part and port.
// You can change this if your api is not reachable on the same port as the frontend.
window.API_URL = 'http://localhost:3456/api/v1'
// Enable error tracking with sentry. If this is set to true, will send anonymized data to
// Enable error tracking with sentry. If this is set to true, will send anonymized data to
// our sentry instance to notify us of potential problems.
window.SENTRY_ENABLED = false
window.SENTRY_DSN = 'https://85694a2d757547cbbc90cd4b55c5a18d@o1047380.ingest.sentry.io/6024480'