webserver-framework/index.js
2022-11-09 11:23:54 +02:00

5 lines
205 B
JavaScript

const options = require('./options.json');
const { Controller } = require('./src/controller');
const controller = new Controller({ ...options, env: require('dotenv').config().parsed });
controller.init();