http-server
Advanced tools
Comparing version 0.2.4 to 0.2.5
{ | ||
"name" : "http-server", | ||
"preferGlobal": "true", | ||
"version" : "0.2.4", | ||
"version" : "0.2.5", | ||
"author": "Marak Squires <marak.squires@gmail.com>", | ||
@@ -6,0 +6,0 @@ "description" : "a simple zero-configuration command-line http server", |
@@ -250,3 +250,3 @@ var fs = require('fs'), | ||
result.forEach(function(v, i) { | ||
html += ('<tr><td>' + '<a href="' + req.url + '/' + v + '">' + v + '</a></td></tr>'); | ||
html += ('<tr><td>' + '<a href="' + ((req.url == '/') ? '' : req.url) + '/' + v + '">' + v + '</a></td></tr>'); | ||
}); | ||
@@ -253,0 +253,0 @@ html += '</table>'; |
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
179859