DEV Community

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

k4ml profile image
Kamal Mustafa Author

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

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.