Domain name access cannot be set by webpack-dev-server

webpack-dev-server sets the domain name cannot be accessed

set start:webpack-dev-server-- open-- host 0.0.0.0 in packge.json so that you can use Ip to access the domain name access display invalid host Header

Mar.07,2021

1. Configure the host, domain name to point to the local machine. If it is port 80, mac needs sudo
2. The one upstairs


wants disableHostcheck

Menu