mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-05-31 15:09:20 +08:00
15 lines
301 B
JavaScript
15 lines
301 B
JavaScript
require('./logs')
|
|
const { httpServer } = require('./server')
|
|
const initDB = require('./db')
|
|
const scheduleJob = require('./schedule')
|
|
const getLicenseInfo = require('./utils/get-plus')
|
|
|
|
async function main() {
|
|
await initDB()
|
|
httpServer()
|
|
scheduleJob()
|
|
getLicenseInfo()
|
|
}
|
|
|
|
main()
|