Upadte SSL

This commit is contained in:
Stefan
2023-06-13 17:25:28 +02:00
committed by GitHub
parent 174ccd76b6
commit 2716e0b59b

View File

@@ -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,