mirror of
https://github.com/fastmail/Squire.git
synced 2025-01-03 05:00:13 -05:00
removed serve.js
This commit is contained in:
parent
48761cdc9c
commit
ae9b667947
1 changed files with 0 additions and 13 deletions
13
serve.js
13
serve.js
|
@ -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);
|
Loading…
Reference in a new issue