nfp_sites/nfp_moe/index.mjs

11 lines
275 B
JavaScript

import config from '../base/config.mjs'
export function start(http, port, ctx) {
config.stores.overrides.store = ctx.config
return import('./api/server.mjs')
.then(function(module) {
let server = new module.default(http, port, ctx)
return server.run()
})
}