You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
188 B

8 years ago
  1. var union = require('union');
  2. var ecstatic = require('../');
  3. union.createServer({
  4. before: [
  5. ecstatic(__dirname + '/public')
  6. ]
  7. }).listen(8080);
  8. console.log('Listening on :8080');