Skip to content

Commit

Permalink
fix: honor nodes TLS_REJECT_UNAUTHORIZED variable for SSR
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Feb 17, 2022
1 parent 0a75cf2 commit 524f558
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/micro-frame/component/node.marko
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ $ let next = (async () => {
const res = await fetch(url, {
cachePath,
cache: input.cache,
strictSSL: process.env.NODE_TLS_REJECT_UNAUTHORIZED !== "0",
headers: {
...incomingMessage.headers,
...input.headers,
Expand Down

0 comments on commit 524f558

Please sign in to comment.