Merge branch 'gh-pages' of http://github.com/teamsnowman/hextris into gh-pages

This commit is contained in:
Garrett Finucane 2014-06-30 21:56:35 -04:00
commit a247788fc2

View file

@ -1,19 +0,0 @@
// HackExeter
var app = require('http').createServer(handler),
fs = require('fs');
app.listen(80);
function handler (req, res) {
fs.readFile(__dirname + req['url'],
function (err, data) {
if (err) {
res.writeHead(500);
return res.end('<h3>Error loading ' + __dirname + req['url'] + '</h3>');
}
res.writeHead(200);
res.end(data);
});
}