replaced some jsdoc with assigning false by default

This commit is contained in:
BPplays
2025-01-12 22:39:42 -08:00
parent faaa4ba6bc
commit d769798ba3

View File

@@ -1015,12 +1015,12 @@ async function startServer() {
let useIPv6 = (enableIPv6 === true); let useIPv6 = (enableIPv6 === true);
let useIPv4 = (enableIPv4 === true); let useIPv4 = (enableIPv4 === true);
let /** @type {boolean} */ hasIPv6, let hasIPv6 = false,
/** @type {boolean} */ hasIPv4, hasIPv4 = false,
/** @type {boolean} */ hasIPv6Local, hasIPv6Local = false,
/** @type {boolean} */ hasIPv4Local, hasIPv4Local = false,
/** @type {boolean} */ hasIPv6Any, hasIPv6Any = false,
/** @type {boolean} */ hasIPv4Any; hasIPv4Any = false;
if (enableIPv6 === 'auto' || enableIPv4 === 'auto') { if (enableIPv6 === 'auto' || enableIPv4 === 'auto') {