Jonatan Nilsson
9a07149c86
Some checks failed
continuous-integration/appveyor/branch AppVeyor build failed
service-core: Update to version 3
10 lines
No EOL
233 B
JavaScript
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()
|
|
}) |