HowProgrammingWorks / NodejsStarterKit

Starter Kit for Node.js 16 or later, minimum dependencies 🚀
http://metarhia.com
MIT License
462 stars 102 forks source link

certification init error #203

Open Max-im opened 1 year ago

Max-im commented 1 year ago

class Server expects 1 argument constructor(config) {

but during the app initialization 2 arguments were passed application.server = new Server(config.server, options);

options argument contains read cert info, but Server class attempts to retrieve the data from config.server argument.