赞
踩
talk is cheap, show me the code.
devServer.disableHostCheck
boolean
When set to true this option bypasses host checking. THIS IS NOT RECOMMENDED as apps that do not check the host are vulnerable to DNS rebinding attacks.
https://webpack.js.org/configuration/dev-server/#devserverdisablehostcheck
devServer: {
disableHostCheck: true,
}
module.exports = {
devServer: {
disableHostCheck: true
}
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。