screen/vite.config.js
@@ -14,5 +14,15 @@ alias: { '@': fileURLToPath(new URL('./src', import.meta.url)) } } }, server: { proxy: { "/gateway_interface": { target: "http://192.168.0.103:10010", // target: "https://xiaoxianlianqi.cn/gateway_interface", changeOrigin: true, rewrite: (path) => path.replace(/^\/gateway_interface/, ""), }, }, }, })