git ssb

1+

dinoworm ๐Ÿ› / catstack



Tree: 99bc16e5212f7086422943407911f7c31443ab4c

Files: 99bc16e5212f7086422943407911f7c31443ab4c / static.js

355 bytesRaw
1require('babel-core/register')
2
3const config = require('app/config').default
4const createStatic = require('app/static').default
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