aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Cloudburst <us@conep.one>2022-05-23 11:41:56 +0100
committerLeah Cloudburst <us@conep.one>2022-05-23 11:41:56 +0100
commitb67bf85c81063123407f168012d9edb438c68f27 (patch)
tree471470890792e37a5e977611442ce87d50f059c2
parent21ea9f59274d695ce3abe2110adf5bba82105446 (diff)
downloadvaportrail-statuspoller-b67bf85c81063123407f168012d9edb438c68f27.tar.gz
vaportrail-statuspoller-b67bf85c81063123407f168012d9edb438c68f27.tar.bz2
vaportrail-statuspoller-b67bf85c81063123407f168012d9edb438c68f27.zip
Update 'index.ts'
-rw-r--r--index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.ts b/index.ts
index 606ec77..3255411 100644
--- a/index.ts
+++ b/index.ts
@@ -3,8 +3,8 @@ import https from "https";
import { readFileSync } from "fs";
import si from "systeminformation";
-var privateKey = readFileSync('./cert/server.pem', 'utf8');
-var certificate = readFileSync('./cert/server.pem', 'utf8');
+var privateKey = readFileSync('./cert/cert.pem', 'utf8');
+var certificate = readFileSync('./cert/privkey.pem', 'utf8');
var credentials = {key: privateKey, cert: certificate};