https://help.crossbrowsertesting.com/faqs/testing/invalid-host-header-error/
通过谷歌搜索到了对应的方法,本人使用的是ng2 所以记录一下
在ng serve 的时候
adding
--host 0.0.0.0 --disableHostCheck
https://help.crossbrowsertesting.com/faqs/testing/invalid-host-header-error/
通过谷歌搜索到了对应的方法,本人使用的是ng2 所以记录一下
在ng serve 的时候
adding
--host 0.0.0.0 --disableHostCheck