new DBD.Dashboard({
  ssl: {
    enabled: Boolean,
    key: String,
    cert: String,
  },
});

Example Usage

new DBD.Dashboard({
  ssl: {
    enabled: true,
    key: fs.readFileSync("key.pem"),
    cert: fs.readFileSync("cert.pem"),
  },
});

Props

enabled
boolean
required

Indicate if SSL should be enabled or not.

key
string
required

Path to the ssl key file

cert
string
required

Path to the ssl cert file