DEV Community

loading...

Discussion on: Firefox and Chrome resolve any localhost domain (*.localhost) to loopback address

Collapse
k4ml profile image
Kamal Mustafa Author

Did some more digging (git blame) and turned out this was added 7 months ago.

github.com/mozilla/gecko-dev/commi...

The context of this commit also interesting as it allow the browser to trust .localhost as secure origin and you don't need https in local dev for stuff that require https before, such as service workers.