@@ -44,8 +44,8 @@ module.exports = {
}
},
//这里的ip和端口是前端项目的;下面为需要跨域访问后端项目
- host:"0.0.0.0",
- port: '3000',
+ host:"127.0.0.1",
+ port: '8081',
https: false,
open: false // 配置自动启动浏览器