nfp_sites/filadelfia_web/index.mjs

12 lines
268 B
JavaScript
Raw Normal View History

2023-11-09 09:44:04 +00:00
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()
})
}