tianyabing пре 2 година
родитељ
комит
ade18f04c9
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      vite.config.js

+ 2 - 2
vite.config.js

@@ -112,8 +112,8 @@ export default defineConfig(({ command }) => {
       port: 8081,
       proxy: {
         "/ioc-api": {
-           target: "http://127.0.0.1:10099",
-          //target: "http://121.43.55.7:10091/ioc-server",
+           //target: "http://127.0.0.1:10099",
+          target: "http://121.43.55.7:10091/ioc-server",
           changeOrigin: true,
           rewrite: (path) => path.replace(/^\/ioc-api/, ""),
         },