Browse Source

feat: save

gemercheung 1 year ago
parent
commit
a7cd1e0b35
1 changed files with 2 additions and 2 deletions
  1. 2 2
      vite.config.ts

+ 2 - 2
vite.config.ts

@@ -46,13 +46,13 @@ export default defineConfig({
     proxy: {
     proxy: {
       "/api": {
       "/api": {
         secure: false,
         secure: false,
-        target: dev ? "https://192.168.0.25" : "mix3d.4dkankan.com",
+        target: dev ? "https://xj-mix3d.4dkankan.com" : "mix3d.4dkankan.com",
         changeOrigin: true,
         changeOrigin: true,
         rewrite: (path) => path.replace(new RegExp(`^/api`), ""),
         rewrite: (path) => path.replace(new RegExp(`^/api`), ""),
       },
       },
       "/fusion-xj": {
       "/fusion-xj": {
         secure: false,
         secure: false,
-        target: dev ? "https://192.168.0.25" : "mix3d.4dkankan.com",
+        target: dev ? "https://xj-mix3d.4dkankan.com" : "mix3d.4dkankan.com",
         changeOrigin: true,
         changeOrigin: true,
         rewrite: (path) => path.replace(new RegExp(`^/api`), "/fusion-xj"),
         rewrite: (path) => path.replace(new RegExp(`^/api`), "/fusion-xj"),
       },
       },