Files: b9e6e111da28035dc87670c94c75996c4b6854f5 / app / server.js
253 bytesRaw
1 | const { mapObjIndexed, reduce, toPairs } = require('ramda') |
2 | |
3 | const createStack = require('app/stack') |
4 | |
5 | module.exports = createServer |
6 | |
7 | function createServer (config) { |
8 | const server = createStack(config) |
9 | |
10 | server.listen(config.port) |
11 | |
12 | return server |
13 | } |
14 |
Built with git-ssb-web