8 lines
211 B
JavaScript
8 lines
211 B
JavaScript
|
import { ServiceCore } from 'service-core'
|
||
|
import * as index from './index.mjs'
|
||
|
|
||
|
var core = new ServiceCore('ffmpeg_service', import.meta.url, 4040, '')
|
||
|
|
||
|
core.init(index).then(function() {
|
||
|
return core.run()
|
||
|
})
|