service-core/example/index.mjs

5 lines
No EOL
158 B
JavaScript

export function start(config, db, log, next) {
return import('./api/server.mjs').then(function(module) {
return module.run(config, db, log, next)
})
}