Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
angus-c committed Oct 29, 2011
2 parents e2553b3 + 666fb7c commit 75521c4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README
@@ -0,0 +1,7 @@
An early attempt at a file copier. Promise to make this more useful soon

//usage
localhost:8080/myFile.js
localhost:8080/myDocument.doc

set to and from paths in server.js
2 changes: 1 addition & 1 deletion src/server.js
Expand Up @@ -24,7 +24,7 @@ http.createServer(function (request, response) {

//...or copy
respLn("\nasked to copy", name, "...");
fs.readFile(fromPath + name, copyData);
fs.readFile(fromPath + name, copyData);
})(unescape(url.parse(request.url).pathname));
/********************************************/

Expand Down

0 comments on commit 75521c4

Please sign in to comment.