| 285 | 285 | const uploadsPath = path.join(globalThis.DATA_ROOT, UPLOADS_DIRECTORY); |
| 286 | 286 | |
| 287 | 287 | |
| 288 | 288 | /** @type {boolean | "auto"string} */ |
| 289 | 289 | let enableIPv6 = stringToBool(cliArguments.enableIPv6) ?? stringToBool(getConfigValue('protocol.ipv6', DEFAULT_ENABLE_IPV6)) ?? DEFAULT_ENABLE_IPV6; |
| 290 | 290 | /** @type {boolean | "auto"string} */ |
| 291 | 291 | let enableIPv4 = stringToBool(cliArguments.enableIPv4) ?? stringToBool(getConfigValue('protocol.ipv4', DEFAULT_ENABLE_IPV4)) ?? DEFAULT_ENABLE_IPV4; |
| 292 | 292 | |
| 293 | 293 | /** @type {string} */ |
| 294 | 294 | const autorunHostname = cliArguments.autorunHostname ?? getConfigValue('autorunHostname', DEFAULT_AUTORUN_HOSTNAME); |