From ae9b6679472e5ba8c7106d1a20afc3db22df88a6 Mon Sep 17 00:00:00 2001 From: Matthew Borden Date: Fri, 11 Jul 2014 21:06:28 +1000 Subject: [PATCH] removed serve.js --- serve.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 serve.js diff --git a/serve.js b/serve.js deleted file mode 100644 index 73c914a..0000000 --- a/serve.js +++ /dev/null @@ -1,13 +0,0 @@ -var static = require('node-static'); -var sys = require('sys'); -var exec = require('child_process').exec; - -var file = new static.Server('./'); - -function puts(error, stdout, stderr) { sys.puts(stdout) }; - -require('http').createServer(function (request, response) { - request.addListener('end', function () { - file.serve(request, response); - }).resume(); -}).listen(8080); \ No newline at end of file