Compare commits
2 Commits
dossier-pe
...
#54-Applic
| Author | SHA1 | Date | |
|---|---|---|---|
| c04a2b06cb | |||
| 98138f51f4 |
@@ -20,8 +20,8 @@ const port = process.env.SERVER_PORT;
|
||||
|
||||
//glitchtip setup
|
||||
const sentry = require('@sentry/node');
|
||||
if (!process.env.DISABLE_GLITCHTIP) {
|
||||
console.log("Glitchtip disabled AAAAAA")
|
||||
if (process.env.DISABLE_GLITCHTIP) {
|
||||
console.log("Glitchtip disabled")
|
||||
} else {
|
||||
let dsn = process.env.GLITCHTIP_DSN;
|
||||
sentry.init({ dsn: dsn });
|
||||
|
||||
@@ -20,7 +20,7 @@ const app = createApp(App)
|
||||
app.use(createPinia())
|
||||
app.use(router)
|
||||
|
||||
if (!!import.meta.env.VITE_DISABLE_GLITCHTIP) {
|
||||
if (!import.meta.env.VITE_DISABLE_GLITCHTIP) {
|
||||
let dsn = import.meta.env.VITE_GLITCHTIP_DSN;
|
||||
let environment = import.meta.env.VITE_ENVIRONMENT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user