10 lines
227 B
JavaScript
10 lines
227 B
JavaScript
|
import { ServiceCore } from 'service-core'
|
||
|
import * as index from './index.mjs'
|
||
|
|
||
|
var core = new ServiceCore('nfp_moe', import.meta.url)
|
||
|
core.setConfig({
|
||
|
port: 4030,
|
||
|
})
|
||
|
core.init(index).then(function() {
|
||
|
return core.run()
|
||
|
})
|