feat: updates

This commit is contained in:
qier222 2022-06-12 15:29:14 +08:00
parent 196a974a64
commit 8f4c3d8e5b
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
24 changed files with 572 additions and 93 deletions

View file

@ -91,6 +91,11 @@ export default defineConfig({
changeOrigin: true,
rewrite: path => (IS_ELECTRON ? path : path.replace(/^\/netease/, '')),
},
'/yesplaymusic/video-cover': {
target: `http://168.138.40.199:51324`,
// target: `http://127.0.0.1:51324`,
changeOrigin: true,
},
'/yesplaymusic/': {
target: `http://127.0.0.1:${
process.env.ELECTRON_DEV_NETEASE_API_PORT || 3000