Permalink
Browse files

misc:edit http

  • Loading branch information...
1 parent 057c2d7 commit 59f254b2845d4bc3968460d2516392902a0f5cdc yaopiaohai committed Jul 30, 2012
Showing with 6 additions and 1 deletion.
  1. +5 −0 .gitignore
  2. +1 −1 lib/console/http.js
View
@@ -1,7 +1,12 @@
.project
*/node-log.log
+logs/*.log
+!.gitignore
+node_modules/*
.project
.settings/
**/*.svn
*.svn
+*.sublime-project
+*.sublime-workspace
*.swp
View
@@ -159,7 +159,7 @@ HttpServer.prototype.serveFile_ = function(file, response) {
}
if (file==='./')
file = 'index.html';
- file = process.cwd() + '/node_modules/robot/lib/console/' + file;
+ file = process.cwd() + '/node_modules/pomelo-robot/lib/console/' + file;
fs.stat(file, function(err, stat) {
if (err) {
response.writeHead(404, {"Content-Type": "text/plain"});

0 comments on commit 59f254b

Please sign in to comment.