fix: 修改后端地址
This commit is contained in:
parent
a2a52aaf66
commit
64dba9f0b1
|
@ -92,11 +92,9 @@ export default defineConfig(({ mode}) => {
|
||||||
[env.VITE_APP_BASE_API]: {
|
[env.VITE_APP_BASE_API]: {
|
||||||
// target: 'http://192.168.33.22:8800',
|
// target: 'http://192.168.33.22:8800',
|
||||||
// target: 'http://192.168.32.244:8881',
|
// target: 'http://192.168.32.244:8881',
|
||||||
// target: 'http://47.112.135.104:5096', // opcua
|
// target: 'http://120.77.179.54:8844', // 120测试
|
||||||
target: 'http://120.77.179.54:8844', // 120测试
|
target: 'http://192.168.33.46:8844', // 本地开发环境
|
||||||
// target: 'http://47.108.63.174:8845', // 测试
|
ws: 'ws://192.168.33.46:8844',
|
||||||
// target: 'http://120.77.179.54:8844',
|
|
||||||
ws: 'ws://120.77.179.54:8844',
|
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path) => path.replace(/^\/api/, '')
|
rewrite: (path) => path.replace(/^\/api/, '')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue