git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 1b77a91b5043f96c866edfed9022577b95e3c14f

Files: 1b77a91b5043f96c866edfed9022577b95e3c14f / app / static.js

216 bytesRaw
1import http from 'http'
2
3export 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