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: 3c5656040b9e10a490330325945b86fcc505c789 (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: gon.is_production,
  });

  return RavenConfig;
};

index();

export default index;