From e5a7ed3ac36aaa1045353e589dae98a29ca72f1e Mon Sep 17 00:00:00 2001 From: "Luke \"Jared\" Bennett" Date: Fri, 5 May 2017 15:55:55 +0100 Subject: Review changes --- app/assets/javascripts/raven/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/assets/javascripts/raven/index.js b/app/assets/javascripts/raven/index.js index 3c5656040b9..5325e495815 100644 --- a/app/assets/javascripts/raven/index.js +++ b/app/assets/javascripts/raven/index.js @@ -5,7 +5,7 @@ const index = function index() { sentryDsn: gon.sentry_dsn, currentUserId: gon.current_user_id, whitelistUrls: [gon.gitlab_url], - isProduction: gon.is_production, + isProduction: process.env.NODE_ENV, }); return RavenConfig; -- cgit v1.2.3