mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-25 09:02:56 +08:00
fix: remove sentry
This commit is contained in:
parent
9708064d26
commit
4e023502ca
|
@ -1,7 +1,6 @@
|
|||
VUE_APP_NETEASE_API_URL=/api
|
||||
VUE_APP_ELECTRON_API_URL=/api
|
||||
VUE_APP_ELECTRON_API_URL_DEV=http://127.0.0.1:3000
|
||||
VUE_APP_ENABLE_SENTRY=false
|
||||
VUE_APP_LASTFM_API_KEY=09c55292403d961aa517ff7f5e8a3d9c
|
||||
VUE_APP_LASTFM_API_SHARED_SECRET=307c9fda32b3904e53654baff215cb67
|
||||
DEV_SERVER_PORT=20201
|
||||
|
|
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
|
@ -38,7 +38,6 @@ jobs:
|
|||
env:
|
||||
VUE_APP_ELECTRON_API_URL: /api
|
||||
VUE_APP_ELECTRON_API_URL_DEV: http://127.0.0.1:10754
|
||||
VUE_APP_ENABLE_SENTRY: false
|
||||
with:
|
||||
# GitHub token, automatically provided to the action
|
||||
# (No need to define this secret in the repo settings)
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
"dependencies": {
|
||||
"@njzy/unblockneteasemusic": "^0.25.3",
|
||||
"axios": "^0.21.0",
|
||||
"big-integer": "^1.6.48",
|
||||
"change-case": "^4.1.2",
|
||||
"core-js": "^3.6.5",
|
||||
"crypto-js": "^4.0.0",
|
||||
|
@ -53,7 +52,6 @@
|
|||
"js-cookie": "^2.2.1",
|
||||
"lodash": "^4.17.20",
|
||||
"nprogress": "^0.2.0",
|
||||
"pac-proxy-agent": "^4.1.0",
|
||||
"plyr": "^3.6.2",
|
||||
"prettier": "2.1.2",
|
||||
"register-service-worker": "^1.7.1",
|
||||
|
@ -68,9 +66,6 @@
|
|||
"vuex": "^3.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sentry/browser": "^5.27.0",
|
||||
"@sentry/integrations": "^5.27.0",
|
||||
"@sentry/tracing": "^5.27.0",
|
||||
"@vue/cli-plugin-babel": "~4.5.0",
|
||||
"@vue/cli-plugin-eslint": "~4.5.0",
|
||||
"@vue/cli-plugin-pwa": "~4.5.0",
|
||||
|
|
22
src/main.js
22
src/main.js
|
@ -9,10 +9,6 @@ import "@/utils/filters";
|
|||
import "./registerServiceWorker";
|
||||
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 = () => {
|
||||
localStorage.clear();
|
||||
indexedDB.deleteDatabase("yesplaymusic");
|
||||
|
@ -37,24 +33,6 @@ Vue.use(VueAnalytics, {
|
|||
|
||||
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();
|
||||
|
||||
new Vue({
|
||||
|
|
Loading…
Reference in New Issue
Block a user