Update function comment

This commit is contained in:
Cohee
2025-03-01 20:25:55 +02:00
parent 61132dd7b9
commit 947a307b25

View File

@@ -50,8 +50,8 @@ function getForwardedIp(req) {
} }
/** /**
* Resolves hostnames in the whitelist to IP addresses. * Resolves the IP addresses of Docker hostnames and adds them to the whitelist.
* This function will modify the whitelist array in place. * @returns {Promise<void>} Promise that resolves when the Docker hostnames are resolved
*/ */
async function addDockerHostsToWhitelist() { async function addDockerHostsToWhitelist() {
if (!whitelistDockerHosts || !isDocker()) { if (!whitelistDockerHosts || !isDocker()) {