Browse Source

修改域名

吴sir 2 months ago
parent
commit
1764c642aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vite.config.js

+ 2 - 2
vite.config.js

@@ -66,8 +66,8 @@ export default defineConfig(({ command, mode }) => {
             proxy: {
                 "/api": {
                     // target:"https://sim.nanodreamtech.com",
-                    target: "http://192.168.0.78:3001",
-                    // target: process.env.VITE_DEV_TYPE == 0 ? "http://sim.ainets.net" : "https://flexi.flexistream.link",
+                    // target: "http://192.168.0.78:3001",
+                    target: process.env.VITE_DEV_TYPE == 0 ? "http://sim.ainets.net" : "https://flexi.flexistream.link",
                     changeOrigin: true,
                     ws: true,
                     secure: true,