feat(music): 添加自动解析 并修改获取url的逻辑

This commit is contained in:
alger
2023-12-20 15:53:33 +08:00
parent bb1b07e0b3
commit a1780bc9d4
5 changed files with 36 additions and 55 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export default defineConfig({
rewrite: (path) => path.replace(/^\/api/, ''),
},
'/music': {
target: 'http://myalger.top:4000',
target: 'http://110.42.251.190:4100',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/music/, ''),
},