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

7 lines
173 B
JavaScript

var http = require('http');
var ecstatic = require('../lib/ecstatic')(__dirname + '/public');
http.createServer(ecstatic).listen(8080);
console.log('Listening on :8080');