diff --git a/.env.production b/.env.production index c00a419..0af18e6 100644 --- a/.env.production +++ b/.env.production @@ -1 +1 @@ -VITE_APP_BASE_API = "http://10.7.1.183:5080/api" \ No newline at end of file +VITE_APP_BASE_API = "http://172.16.20.3:5080/api" \ No newline at end of file diff --git a/dist.zip b/dist.zip index eff5884..61bbb67 100644 Binary files a/dist.zip and b/dist.zip differ diff --git a/vite.config.js b/vite.config.js index 5cef20b..e4bfc62 100644 --- a/vite.config.js +++ b/vite.config.js @@ -16,7 +16,7 @@ export default defineConfig({ open: true, proxy: { "/api": { - target: "http://10.7.1.183:5080", + target: "http://172.16.20.3:5080", changeOrigin: true // rewrite: (path) => path.replace(/^\/api/, "") //后端带了api/前缀的话就注释 }