Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
111inhistory committed Nov 9, 2024
1 parent a4858b6 commit e5716c3
Show file tree
Hide file tree
Showing 3 changed files with 1,921 additions and 1,922 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
},
"dependencies": {
"@unblockneteasemusic/rust-napi": "^0.4.0",
"@unblockneteasemusic/rust-napi-win32-ia32-msvc": "0.4.0",
"@unblockneteasemusic/rust-napi-win32-x64-msvc": "0.4.0",
"NeteaseCloudMusicApi": "^4.23.3",
"axios": "^0.26.1",
"change-case": "^4.1.2",
Expand All @@ -35,7 +37,7 @@
"core-js": "^3.6.5",
"crypto-js": "^4.0.0",
"dayjs": "^1.8.36",
"dexie": "^3.2.5",
"dexie": "3.2.5",
"discord-rich-presence": "^0.0.8",
"electron": "^13.6.7",
"electron-builder": "^23.0.0",
Expand Down Expand Up @@ -86,7 +88,7 @@
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.9.0",
Expand Down
1 change: 1 addition & 0 deletions src/utils/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ service.interceptors.request.use(function (config) {
getCookie('MUSIC_U') !== null
) {
config.params.cookie = `MUSIC_U=${getCookie('MUSIC_U')}; os=${getCookie('os')}`;
config.headers.cookie = config.headers.cookie + `; os=${getCookie('os')}`;
}
} else {
console.error("You must set up the baseURL in the service's config");
Expand Down
Loading

0 comments on commit e5716c3

Please sign in to comment.