app.js (1114:6d87da79ec4e) app.js (1865:3c551b9721df)
1#!/usr/bin/env node
2
1
3require('unit-http').createServer(function (req, res) {
2require('http').createServer(function (req, res) {
4 res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
5 .end('Hello World\n');
6}).listen(7080);
3 res.writeHead(200, {'Content-Length': 12, 'Content-Type': 'text/plain'})
4 .end('Hello World\n');
5}).listen(7080);