Upadte SSL
This commit is contained in:
@@ -26,8 +26,8 @@ const PORT = config.port || 2000;
|
|||||||
const cacheFolder = "./cache/";
|
const cacheFolder = "./cache/";
|
||||||
|
|
||||||
// Certificate
|
// Certificate
|
||||||
const privateKey = fs.readFileSync("./assets/ssl/localhost/localhost.decrypted.key");
|
const privateKey = fs.readFileSync("./assets/ssl/privkey.pem");
|
||||||
const certificate = fs.readFileSync("./assets/ssl/localhost/localhost.crt");
|
const certificate = fs.readFileSync("./assets/ssl/cert.pem");
|
||||||
|
|
||||||
const credentials = {
|
const credentials = {
|
||||||
key: privateKey,
|
key: privateKey,
|
||||||
|
|||||||
Reference in New Issue
Block a user