Comparing version 8.1.1 to 8.1.2
@@ -159,3 +159,4 @@ #!/usr/bin/env node | ||
} else if (typeof details === 'object' && details.port) { | ||
console.log(info(`Accepting connections at http://${details.address}:${details.port}`)); | ||
const address = details.address === '::' ? 'localhost' : details.address; | ||
console.log(info(`Accepting connections at http://${address}:${details.port}`)); | ||
} else { | ||
@@ -162,0 +163,0 @@ console.log(info('Accepting connections')); |
{ | ||
"name": "serve", | ||
"version": "8.1.1", | ||
"version": "8.1.2", | ||
"description": "Static file serving and directory listing", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12675
241