formatting

d177314676b9500e6a81117c67f71c78435b1848

BPplays <andymalbp@gmail.com>

1 files changed, +1 -2Showing whitespace changes
server.js+1 -2
@@ -398,7 +398,6 @@ async function canResolve(name, useIPv6 = true, useIPv4 = true) {
398 }398 }
399 }399 }
400400
401 // If we need to check IPv4 resolution
402 if (useIPv4) {401 if (useIPv4) {
403 try {402 try {
404 await dnsPromise.resolve(name);403 await dnsPromise.resolve(name);
@@ -768,7 +767,7 @@ const preSetupTasks = async function () {
768767
769/**768/**
770 * Gets the hostname to use for autorun in the browser.769 * Gets the hostname to use for autorun in the browser.
771 * @returns promise({string} The hostname to use for autorun770 * @returns Promise<string> The hostname to use for autorun
772 */771 */
773async function getAutorunHostname(useIPv6, useIPv4) {772async function getAutorunHostname(useIPv6, useIPv4) {
774 if (autorunHostname === 'auto') {773 if (autorunHostname === 'auto') {