connect.js 177 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 var connect = require('connect'), requireServer = require('require/server') connect.createServer( connect.static(__dirname), requireServer.connect(__dirname) ).listen(8080)