11 lines
188 B
JavaScript
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');
|