|
|
@ -9,10 +9,6 @@ import "@/utils/filters";
|
|
|
|
import "./registerServiceWorker";
|
|
|
|
import "./registerServiceWorker";
|
|
|
|
import { dailyTask } from "@/utils/common";
|
|
|
|
import { dailyTask } from "@/utils/common";
|
|
|
|
|
|
|
|
|
|
|
|
import * as Sentry from "@sentry/browser";
|
|
|
|
|
|
|
|
import { Vue as VueIntegration } from "@sentry/integrations";
|
|
|
|
|
|
|
|
import { Integrations } from "@sentry/tracing";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.resetApp = () => {
|
|
|
|
window.resetApp = () => {
|
|
|
|
localStorage.clear();
|
|
|
|
localStorage.clear();
|
|
|
|
indexedDB.deleteDatabase("yesplaymusic");
|
|
|
|
indexedDB.deleteDatabase("yesplaymusic");
|
|
|
@ -37,24 +33,6 @@ Vue.use(VueAnalytics, {
|
|
|
|
|
|
|
|
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
|
|
|
|
|
|
|
|
if (process.env.VUE_APP_ENABLE_SENTRY === "true") {
|
|
|
|
|
|
|
|
Sentry.init({
|
|
|
|
|
|
|
|
dsn:
|
|
|
|
|
|
|
|
"https://30aaa25152974f48971912a394ab6bc3@o436528.ingest.sentry.io/5477409",
|
|
|
|
|
|
|
|
integrations: [
|
|
|
|
|
|
|
|
new VueIntegration({
|
|
|
|
|
|
|
|
Vue,
|
|
|
|
|
|
|
|
tracing: true,
|
|
|
|
|
|
|
|
}),
|
|
|
|
|
|
|
|
new Integrations.BrowserTracing(),
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// We recommend adjusting this value in production, or using tracesSampler
|
|
|
|
|
|
|
|
// for finer control
|
|
|
|
|
|
|
|
tracesSampleRate: 1.0,
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dailyTask();
|
|
|
|
dailyTask();
|
|
|
|
|
|
|
|
|
|
|
|
new Vue({
|
|
|
|
new Vue({
|
|
|
|