Files: 7139d9830944a64180e714715d520079c3e0fcf4 / app / static.js
216 bytesRaw
1 | import http from 'http' |
2 | |
3 | export function createServer (config) { |
4 | const ecstatic = config.livereload ? |
5 | require('ecstatic-lr') : require('ecstatic') |
6 | |
7 | return http.createServer( |
8 | ecstatic(config.static) |
9 | ) |
10 | } |
11 |
Built with git-ssb-web