sc-helloworld/dev.mjs

10 lines
233 B
JavaScript
Raw Normal View History

import { ServiceCore } from 'service-core'
import * as index from './index.mjs'
var core = new ServiceCore('sc-helloworld', import.meta.url)
core.setConfig({
port: 4270,
})
core.init(index).then(function() {
return core.run()
})