diff --git a/vite.config.js b/vite.config.js index 98c494b..42c0a36 100644 --- a/vite.config.js +++ b/vite.config.js @@ -7,8 +7,8 @@ const Timestamp = new Date().getTime(); //随机时间戳 // const targetUrl = 'http://192.168.20.49:7200'; //谢斌斌 -// const targetUrl = 'http://192.168.20.52:7200'; //杨辉 -const targetUrl = 'http://kaifeng.wh-nf.cn/prod-api'; //线上 +const targetUrl = 'http://192.168.1.11:7300'; //杨辉 +// const targetUrl = 'http://kaifeng.wh-nf.cn/prod-api'; //线上 // https://vitejs.dev/config/ export default defineConfig(({ mode, command }) => { @@ -30,7 +30,7 @@ }, // vite 相关配置 server: { - port: 4219, + port: 4319, host: true, hot: true, //自动保存 cors: true,