huangxw hace 4 meses
padre
commit
d665c4e9da
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      vite.config.ts

+ 2 - 2
vite.config.ts

@@ -26,8 +26,8 @@ export default defineConfig(({ mode, command }: ConfigEnv): UserConfig => {
             proxy: {
                 [env.VITE_APP_BASE_API]: {
                     // target: 'https://www.shuziyunyao.com/dm-api',
-                    // target: 'http://dm.yujin.shuziyunyao.com/api',
-                    target: 'http://192.168.1.68:8080',
+                    target: 'http://dm.yujin.shuziyunyao.com/api',
+                    // target: 'http://192.168.1.68:8080',
                     changeOrigin: true,
                     ws: true,
                     rewrite: (path) => path.replace(new RegExp('^' + env.VITE_APP_BASE_API), '')