Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « raven « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5325e495815f705813969797c88305659413ef97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import RavenConfig from './raven_config';

const index = function index() {
  RavenConfig.init({
    sentryDsn: gon.sentry_dsn,
    currentUserId: gon.current_user_id,
    whitelistUrls: [gon.gitlab_url],
    isProduction: process.env.NODE_ENV,
  });

  return RavenConfig;
};

index();

export default index;