If you want to use the https protocol, you must provide us with a certificate and an SSL key String. This can also be fs.readFileSync.
fs.readFileSync
new DBD.Dashboard({ ssl: { enabled: Boolean, key: String, cert: String, }, });
new DBD.Dashboard({ ssl: { enabled: true, key: fs.readFileSync("key.pem"), cert: fs.readFileSync("cert.pem"), }, });
Was this page helpful?