if(!config.SSL.key||!config.SSL.cert)console.log(`${"discord-dashboard issue:".red} The SSL preference for Dashboard is selected (config.SSL.enabled), but config does not include key or cert (config.SSL.key, config.SSL.cert).`);
constoptions={
key:config.SSL.key||"",
cert:config.SSL.cert||"",
};
try{
server=https.createServer(options,app);
}catch(e){
console.log(`${"discord-dashboard issue:".red} There's a problem while creating server, check if the port specified is already on use.`);