I am getting Invalid Host header
after installing the node_modules in my project. Then I googled it and found this. But don't where I need to add this line in webpack.config.js
.
devServer: {
compress: true,
public: 'store-client-nestroia1.c9users.io' // That solved it
}
Can some one please help me to do the same.
Edit 1: I have added it in webpack.config.dev.js
but still no luck
Thank you!!!