Frappe Docker: .localhost site suddenly stopped being resolved

So I’ve been using .localhost sites so far and had no problems. But now today I see that axios and insomnia both are not able to resolve mySite.localhost anymore even though it still loads in the browser. What could be the issue?

Development? Production?

You may have to add extra_host in docker compose to map hostname to docker host ip.

It was in development. I’ll try adding the extra host but it worked fine till today