Closed jasedit closed 3 years ago
If localhost doesn't exist in the DNS, fallback to 127.0.0.1. This resolves an issue for macOS where it isn't defined by default, but if someone were to delete the hosts entry, this would still safely fallback.
@ondreian This PR has been adjusted to take advantage of the of() function being async, so this may be more correct? Let me know what you think.
of()
If localhost doesn't exist in the DNS, fallback to 127.0.0.1. This resolves an issue for macOS where it isn't defined by default, but if someone were to delete the hosts entry, this would still safely fallback.