7 lines
196 B
JavaScript
7 lines
196 B
JavaScript
import { APP } from './app.js'
|
|
import config from './conf.json' with { type: 'json' };
|
|
|
|
// HTTP server
|
|
const koaApp = new APP();
|
|
koaApp.start(parseInt(process.env.PORT || config.port || "9010"));
|