1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34:34 +00:00

chore: server issue fix

This commit is contained in:
Saad Jutt
2021-11-10 08:33:44 +05:00
parent 652af82dac
commit 98ef40ffd6
3 changed files with 18 additions and 21 deletions

View File

@@ -4,8 +4,8 @@ import * as https from 'https'
import { configuration } from '../package.json'
import app from './app'
const keyPath = path.join('certificates', 'privkey.pem')
const certPath = path.join('certificates', 'fullchain.pem')
const keyPath = path.join('..', 'certificates', 'privkey.pem')
const certPath = path.join('..', 'certificates', 'fullchain.pem')
const key = readFileSync(keyPath)
const cert = readFileSync(certPath)