From 2f38c7b4998a866cc1add4db7834ad2810fe2d20 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Fri, 22 Jun 2018 00:07:16 -0700 Subject: [PATCH] Exclude sentryDsn from config --- js/config.js | 3 --- js/index.js | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/js/config.js b/js/config.js index 45d38b19..c6d928d6 100644 --- a/js/config.js +++ b/js/config.js @@ -1,7 +1,5 @@ import llamaAudio from "../mp3/llama-2.91.mp3"; -/* global SENTRY_DSN */ - const { hash } = window.location; let config = {}; if (hash) { @@ -138,4 +136,3 @@ export const hideAbout = config.hideAbout || false; export const disableMarquee = config.disableMarquee || false; export const initialState = config.initialState || undefined; export const milkdrop = config.milkdrop || false; -export const sentryDsn = SENTRY_DSN; diff --git a/js/index.js b/js/index.js index 9da854f0..07186b0e 100644 --- a/js/index.js +++ b/js/index.js @@ -1,3 +1,5 @@ +/* global SENTRY_DSN */ + import "babel-polyfill"; import Raven from "raven-js"; import createMiddleware from "raven-for-redux"; @@ -25,7 +27,6 @@ import { skinUrl, initialTracks, initialState, - sentryDsn, milkdrop } from "./config"; @@ -59,7 +60,7 @@ function filterBreadcrumbActions(action) { return !noisy; } -Raven.config(sentryDsn, { +Raven.config(SENTRY_DSN, { /* global COMMITHASH */ release: typeof COMMITHASH !== "undefined" ? COMMITHASH : "DEV" }).install();