fix: 健康档案管理,同步记账管理系统页面功能。
This commit is contained in:
@@ -42,18 +42,18 @@ export default defineConfig(({ mode, command }) => {
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
'/dev-api': {
|
||||
// target: 'http://154.8.147.51:8080',
|
||||
target: 'http://127.0.0.1:8080',
|
||||
target: 'http://117.72.197.29:8080',
|
||||
// target: 'http://127.0.0.1:8080',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, '')
|
||||
},
|
||||
'/file-upload': {
|
||||
target: 'http://101.126.95.100:9000',
|
||||
target: 'http://117.72.197.29:9000',
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/file-upload/, '')
|
||||
},
|
||||
'/fileUrl': {
|
||||
target: 'http://101.126.95.100:9000', // 本地
|
||||
target: 'http://117.72.197.29:9000', // 本地
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/fileUrl/, '')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user