微调
This commit is contained in:
@@ -21,11 +21,12 @@ export default defineConfig({
|
||||
server: {
|
||||
host: '0.0.0.0',
|
||||
open: true,
|
||||
port:5174,
|
||||
proxy: {
|
||||
'/api': {
|
||||
// target: 'http://10.95.53.49:10215', //海南服务器ip
|
||||
// target: 'http://10.118.135.128:10215', ///hsw
|
||||
target: 'http://192.168.1.67:10215', ///hsw
|
||||
target: 'http://192.168.1.29:10215', ///hsw
|
||||
// target: 'http://192.168.1.68:10215', ///hsw
|
||||
// target: 'http://10.119.65.152:10215', //数据中心
|
||||
changeOrigin: true,
|
||||
@@ -33,7 +34,7 @@ export default defineConfig({
|
||||
},
|
||||
'/api-docx': {
|
||||
// 文件服务器地址
|
||||
target: 'http://192.168.1.68:9009',
|
||||
target: 'http://192.168.1.29:9009',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api-docx/, '')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user