filo_caspar/index.mjs

9 lines
222 B
JavaScript

import log from './api/log.mjs'
// Run the database script automatically.
log.info('Starting server.')
import('./api/server.mjs').catch((error) => {
log.error(error, 'Error while starting server')
process.exit(1)
})