Skip to content

Commit

Permalink
Try reading cert from env
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodh committed Dec 5, 2024
1 parent 3b3c52d commit 9b1ebb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/target-browser/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ app.get('/themes.json', async (req, res) => {

const sslserver = https.createServer(
{
key: await readFile(PRIVATE_CERTIFICATE_KEY),
cert: await readFile(PRIVATE_CERTIFICATE_CERT),
key: process.env.PRIVATE_CERTIFICATE_KEY,
cert: process.env.PRIVATE_CERTIFICATE_CERT,
},
app
)
Expand Down

0 comments on commit 9b1ebb5

Please sign in to comment.