Skip to content

Commit c55dd62

Browse files
committed
Disabling sentry JS if not production (2)
1 parent 7098315 commit c55dd62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/Main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import '@metacell/geppetto-meta-ui/flex-layout/style/dark.scss';
1313
global.GEPPETTO_CONFIGURATION = require('./GeppettoConfiguration.json');
1414
const { initGeppetto } = require('@metacell/geppetto-meta-client/GEPPETTO');
1515

16-
if (process.env == 'production')
16+
if (process.env.NODE_ENV == 'production')
1717
{
1818
Sentry.init({
1919
dsn: 'https://d8bf7e40eec34cb9891f6dd8207b5e83@sentry.metacell.us/6',

0 commit comments

Comments
 (0)