Files: e51c7a21e640c263629f1fd6b34657c209665a10 / server.js
356 bytesRaw
1 | const combine = require('depject') |
2 | |
3 | const configModule = require('./config') |
4 | const appModules = require('./lib/app') |
5 | const coreModules = require('./modules') |
6 | |
7 | module.exports = startServer |
8 | |
9 | function startServer ({ cwd } = {}) { |
10 | const sockets = combine( |
11 | configModule, |
12 | appModules({ cwd }), |
13 | coreModules |
14 | ) |
15 | sockets.server.start.map(s => s()) |
16 | } |
17 |
Built with git-ssb-web