commit
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
const {defineConfig} = require('@vue/cli-service')
|
||||
const path = require('path');
|
||||
const webpack = require('webpack')
|
||||
|
||||
module.exports = defineConfig({
|
||||
|
||||
transpileDependencies: ['vuetify'],
|
||||
@@ -21,7 +20,7 @@ module.exports = defineConfig({
|
||||
// changeOrigin: true, //是否允许跨越
|
||||
// }
|
||||
'/api':{
|
||||
target:'http://192.168.1.9:5567',
|
||||
target:'http://18.167.251.121:10086',
|
||||
changeOrigin:true,
|
||||
},
|
||||
'/robot':{
|
||||
@@ -31,7 +30,7 @@ module.exports = defineConfig({
|
||||
'^/robot': 'api', // api替换成api
|
||||
}
|
||||
},
|
||||
'xuPei':{
|
||||
'/xuPei':{
|
||||
target:'http://192.168.1.10:5567',
|
||||
changeOrigin:true,
|
||||
pathRewrite:{
|
||||
|
||||
Reference in New Issue
Block a user