Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update web.js

  • Loading branch information...
commit 474b16227c617f682479aba7731e5bb8a1635f2a 1 parent 0f97657
@ericelliott authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  web.js
View
2  web.js
@@ -17,7 +17,7 @@ http.createServer(function(request, response) {
return;
}
- if (fs.statSync(filename).isDirectory()) filename += '/index.html';
+ if (fs.statSync(filename).isDirectory()) filename += 'test/index.html';
fs.readFile(filename, "binary", function(err, file) {
if(err) {
Please sign in to comment.
Something went wrong with that request. Please try again.