“Invalid Host Header” in When running React App

后端 未结 3 727
面向向阳花
面向向阳花 2021-02-05 10:39

I am having one simple project of React JS and I am deploying into OSE. Also I am using below dependencies in my project.

 \"webpack\": \"^2.2.0\",
 \"webpack-de         


        
3条回答
  •  长情又很酷
    2021-02-05 11:12

    At your webpack config, you could add disableHostCheck: true at devServer configuration. For example,

    devServer: {
      disableHostCheck: true
    }
    

提交回复
热议问题