|
|
|
@ -65,6 +65,11 @@ const viteConfig = defineConfig((mode: ConfigEnv) => {
|
|
|
|
|
target: env.VITE_API_URL,
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
},
|
|
|
|
|
'/realtime': {
|
|
|
|
|
target: 'http://192.168.2.88:5034',
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
rewrite: (path) => path.replace(/^\/realtime/, ''),
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
build: {
|
|
|
|
|