We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a502dc1 commit c820a3bCopy full SHA for c820a3b
server.js
@@ -52,11 +52,11 @@ Sentry.setupFastifyErrorHandler(fastify);
52
await fastify.register(envPlugin);
53
54
let sentryHost = '';
55
-if (fastify.config.BFF_SENTRY_DSN && fastify.config.BFF_SENTRY_DSN.length > 0) {
+if (fastify.config.VITE_SENTRY_DSN && fastify.config.VITE_SENTRY_DSN.length > 0) {
56
try {
57
- sentryHost = new URL(fastify.config.BFF_SENTRY_DSN).hostname;
+ sentryHost = new URL(fastify.config.VITE_SENTRY_DSN).hostname;
58
} catch {
59
- console.log('BFF_SENTRY_DSN is not a valid URL');
+ console.log('VITE_SENTRY_DSN is not a valid URL');
60
sentryHost = '';
61
}
62
0 commit comments