Browse Source

修改访问地址为0.0.0.0

old
荆俊烨 6 years ago
parent
commit
37c8dcbe09
  1. 4
      vue.config.js

4
vue.config.js

@ -42,8 +42,8 @@ module.exports = {
lintOnSave: true,
devServer: {
open: true,
host: 'localhost',
port: '8081',
host: '0.0.0.0',
port: '8080',
proxy: {
'/api': {
target: 'http://localhost:8999', // 要请求的地址

Loading…
Cancel
Save