Jonatan Nilsson
71b1725655
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
11 lines
269 B
JavaScript
11 lines
269 B
JavaScript
import config from '../base/config.mjs'
|
|
|
|
export function start(http, port, ctx) {
|
|
config.sources[1].store = ctx.config
|
|
|
|
return import('./api/server.mjs')
|
|
.then(function(module) {
|
|
let server = new module.default(http, port, ctx)
|
|
return server.run()
|
|
})
|
|
}
|