Skip to content

Commit 59ebb79

Browse files
authored
Merge pull request #19 from arkokoley/patch-1
Update index.js
2 parents c5fd78d + 0fada06 commit 59ebb79

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,8 +653,8 @@ app.get('/logout', (req, res) => {
653653

654654
https
655655
.createServer({
656-
key: fs.readFileSync(path.join(__dirname, '../threads-sample.meta-key.pem')),
657-
cert: fs.readFileSync(path.join(__dirname, '../threads-sample.meta.pem')),
656+
key: fs.readFileSync(path.join(__dirname, '../'+ HOST +'-key.pem')),
657+
cert: fs.readFileSync(path.join(__dirname, '../'+ HOST +'.pem')),
658658
}, app)
659659
.listen(PORT, HOST, (err) => {
660660
if (err) {

0 commit comments

Comments
 (0)