Update the resolveHostnames function to clarify its behavior and improve documentation

50ad31f8e8b7c88ab89d73f7dc16a602c3596813

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
src/middleware/whitelist.js+2 -2
@@ -79,8 +79,8 @@ function isIpFormat(entry) {
7979}
8080
8181/**
8282 * Validate the IPResolves addresseshostnames in the whitelist to IP addresses.
8383 * HostnamesThis arefunction resolvedwill tomodify IPthe addresseswhitelist array in place.
8484 */
8585async function resolveHostnames() {
8686 for (let i = 0; i < whitelist.length; i++) {