This commit is contained in:
sjl
2025-12-24 10:42:17 +08:00
parent dbb6a9f72b
commit a77b153ac8
4 changed files with 10740 additions and 348 deletions

View File

@@ -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/, '')
},