summaryrefslogtreecommitdiffhomepage
path: root/example/index.js
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-22 17:16:05 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-22 17:16:05 -0700
commit94890bc86051af268f1a1d8e2315f8238a7e3a64 (patch)
treef4fd3588760c10705e91e3a856cb4f098a1cff93 /example/index.js
parent97ab2dbf56c3aa5c0ebb9ab4fb53fb184421e25a (diff)
Use fake domain name for HTTPS certs
Diffstat (limited to 'example/index.js')
-rw-r--r--example/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/index.js b/example/index.js
index a6a2364..e47023d 100644
--- a/example/index.js
+++ b/example/index.js
@@ -115,8 +115,8 @@ app.post('/verify-assertion', (req, res) => {
});
https.createServer({
- key: fs.readFileSync('./dev.dontneeda.pw.key'),
- cert: fs.readFileSync('./dev.dontneeda.pw.crt'),
+ key: fs.readFileSync('./dev.yourdomain.com.key'),
+ cert: fs.readFileSync('./dev.yourdomain.com.crt'),
}, app).listen(port, host, () => {
console.log(`🚀 Server ready at https://${host}:${port}`);
});