diff --git a/vite.config.js b/vite.config.js index 9992ba0..6e70e4d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -30,7 +30,8 @@ export default defineConfig({ proxy: { // 配置API代理 '/api': { - target: 'http://localhost:7071', + target: 'http://www.qf1121.top', + // target: 'http://localhost:7071', changeOrigin: true, rewrite: (path) => path }