|
|
@@ -33,7 +33,7 @@ export default defineConfig(({ mode }) => {
|
|
|
host: '0.0.0.0', // IP配置,支持从IP启动
|
|
|
proxy: {
|
|
|
'/console': {
|
|
|
- target: 'http://smartai.com:8163',
|
|
|
+ target: 'http://192.168.20.119:13002',
|
|
|
// target: 'http://192.168.20.119:9303',
|
|
|
changeOrigin: true,
|
|
|
secure: false,
|
|
|
@@ -42,7 +42,7 @@ export default defineConfig(({ mode }) => {
|
|
|
rewrite: (path) => path.replace(/^\/proxy_url/, '')
|
|
|
},
|
|
|
'/api/': {
|
|
|
- target: 'http://smartai.com:8163',
|
|
|
+ target: 'http://192.168.20.119:13002',
|
|
|
// target: 'http://192.168.20.119:9303',
|
|
|
changeOrigin: true,
|
|
|
secure: false,
|