ZaiZai před 1 rokem
rodič
revize
c88d9aee8a
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      vite.config.js

+ 2 - 2
vite.config.js

@@ -46,8 +46,8 @@ export default defineConfig({
             '/api': {
             '/api': {
                 ws: true,
                 ws: true,
                 changeOrigin: true,
                 changeOrigin: true,
-                target: "http://39.108.216.210:8090",
-                target1: "http://127.0.0.1:8090",
+                //target: "http://39.108.216.210:8090",
+                target: "http://127.0.0.1:8090",
                 rewrite: (path) => path.replace(new RegExp('^/api'), '/'),
                 rewrite: (path) => path.replace(new RegExp('^/api'), '/'),
             },
             },
         },
         },