sc-helloworld/dev.mjs
Jonatan Nilsson 9a07149c86
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
appveyor: Add auto build script support
service-core: Update to version 3
2022-03-10 15:19:22 +00:00

10 lines
No EOL
233 B
JavaScript

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()
})