Files: 376e552507d87635ccb06d830c49e436a1c20c7b / 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