When developing a web app locally I like to use addresses like
app.localhost:8080 to access them. They work fine in Chrome but not in Safari. I guess this is because Chrome has special handling for the TLD and Safari uses the OS DNS resolver.
Is there a way to make macOS resolve all
.localhost addresses to