nyc-bookstores/node_modules/ecstatic/example/union.js

11 lines
188 B
JavaScript
Raw Normal View History

2013-05-27 20:45:59 +00:00
var union = require('union');
var ecstatic = require('../');
union.createServer({
before: [
ecstatic(__dirname + '/public')
]
}).listen(8080);
console.log('Listening on :8080');