Closed danevron closed 7 years ago
Hi! Thanks for reaching out. This is a known issue due to a change in the default configuration in Webpack, but it hasn't yet been explicitly documented how to fix this in Sagui. I opened a PR for that:
https://github.com/saguijs/sagui/pull/400
The configuration that needs to be set is:
develop: {
disableHostCheck: true
}
For reference, what version of Sagui are you using?
@danevron did the documented solution at https://github.com/saguijs/sagui#invalid-host-header---accessing-dev-server-from-outside-localhost worked?
@pirelenito - Yes it did! @xaviervia, @pirelenito - Thank you both for the swift (and helpful) reply.
Currently going to a machine IP instead of
localhost
results in "Invalid Host header" message on the page. As a result we are unable to view pages on iOS devices.I've tried extending Webpack config with the following which should help according to Webpack but without success.
I suspect an older Webpack version is used but not sure.