git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: d86f4a4c7da0876328cdc298a672bf5715b288b9

Files: d86f4a4c7da0876328cdc298a672bf5715b288b9 / static.js

339 bytesRaw
1require('babel-core/register')
2
3const config = require('app/config')
4const createStatic = require('app/static')
5const Url = require('url')
6
7const server = createStatic(config)
8
9server.listen(config.static.url.port, function () {
10 const staticUrl = Url.format(config.static.url)
11 console.log(`static server listening at ${staticUrl}`)
12})
13

Built with git-ssb-web