Permalink
Browse files

Update web.js

  • Loading branch information...
1 parent 0f97657 commit 474b16227c617f682479aba7731e5bb8a1635f2a Eric Elliott committed Sep 6, 2012
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) {

0 comments on commit 474b162

Please sign in to comment.