mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-21 00:59:29 +00:00
Exclude sentryDsn from config
This commit is contained in:
parent
016bce9e36
commit
2f38c7b499
2 changed files with 3 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue