nyc-bookstores/node_modules/ecstatic/example/union.js
2013-05-27 13:45:59 -07:00

11 lines
188 B
JavaScript

var union = require('union');
var ecstatic = require('../');
union.createServer({
before: [
ecstatic(__dirname + '/public')
]
}).listen(8080);
console.log('Listening on :8080');