Add HTTPS support

This commit is contained in:
karenorman
2020-02-01 20:46:26 +08:00
parent 4c2a9b47f5
commit c8c327b6ab
4 changed files with 23 additions and 3 deletions

View File

@@ -21,6 +21,10 @@ var config = {
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not
httpsPrivateKey: "", // HTTPS Private Key path
httpsCertificate: "", // HTTPS Certificate path
language: "en",
timeFormat: 24,
units: "metric",