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

+ 2 - 2
vite.config.ts

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