diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-04 16:58:45 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-04-13 19:18:15 +0300 |
commit | cfd3d0fd377c3438c6ce8bc2f20b11f86b43a785 (patch) | |
tree | aae1be8d8624e9bca4524dea1fdbdea26acb838f /app/assets/javascripts/raven/index.js | |
parent | ccca73d779ae0e22a86c9586fd52b15a8600b9f3 (diff) |
[ci skip] Remove loadscript class in favour of backend conditional
Diffstat (limited to 'app/assets/javascripts/raven/index.js')
-rw-r--r-- | app/assets/javascripts/raven/index.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/javascripts/raven/index.js b/app/assets/javascripts/raven/index.js new file mode 100644 index 00000000000..6cc81248e6b --- /dev/null +++ b/app/assets/javascripts/raven/index.js @@ -0,0 +1,10 @@ +import RavenConfig from './raven_config'; + +RavenConfig.init({ + sentryDsn: gon.sentry_dsn, + currentUserId: gon.current_user_id, + whitelistUrls: [gon.gitlab_url], + isProduction: gon.is_production, +}); + +export default RavenConfig; |