Connect 2.0 is here with new core middleware, miscellaneous improvements, and some new docs.
var app = connect()
.use(connect.logger('dev'))
.use(connect.static('public'))
.use(function(req, res){
res.end('hello world\n');
})
app.listen(3000);HTTP and HTTPS
Previously
connect.Server…
Reblogged 1 year ago from tjholowaychuk
Tags: connectjs, nodejs, javascript,
©2010–2013. Postage by Greg Cooper. Icons by PixelResort. Thanks to Jamie Cassidy & Panic.
*Unlikely to find your lost post using this but you can try...