nfp_sites/heimaerbest/index.mjs
Jonatan Nilsson 098b7e5f14
Some checks reported errors
continuous-integration/appveyor/branch AppVeyor build cancelled
heimaerbest: added project
2023-02-15 05:18:42 +00:00

11 lines
268 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()
})
}