新功能分支切换9.26

property_main
shilei 2 months ago
parent c826ab0f70
commit d0b22b5ae1

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

Loading…
Cancel
Save