|
@@ -104,7 +104,7 @@ const vueConfig = {
|
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
|
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
|
|
proxy: {
|
|
proxy: {
|
|
'/api': {
|
|
'/api': {
|
|
- target: 'http://localhost:5001',
|
|
|
|
|
|
+ target: 'http://localhost:5000',
|
|
ws: false,
|
|
ws: false,
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
@@ -112,12 +112,12 @@ const vueConfig = {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
'/files': {
|
|
'/files': {
|
|
- target: 'http://localhost:5001',
|
|
|
|
|
|
+ target: 'http://localhost:5000',
|
|
ws: false,
|
|
ws: false,
|
|
changeOrigin: true
|
|
changeOrigin: true
|
|
},
|
|
},
|
|
'/websocket': {
|
|
'/websocket': {
|
|
- target: 'ws://localhost:5001',
|
|
|
|
|
|
+ target: 'ws://localhost:5000',
|
|
ws: true,
|
|
ws: true,
|
|
changeOrigin: false,
|
|
changeOrigin: false,
|
|
logLevel: 'debug',
|
|
logLevel: 'debug',
|