mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update function comment
This commit is contained in:
@@ -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()) {
|
||||||
|
Reference in New Issue
Block a user