Skip to content

Commit 5115022

Browse files
authored
Correct TLS env check
1 parent 35e8d7a commit 5115022

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ app.post('/proxy', (req, res) => {
5959
'X-Fowarded-For': ip,
6060
},
6161
data,
62-
...(process.env.DISABLE_TLS_VERIFY && {
62+
...(process.env.DISABLE_TLS_VERIFY === "true" && {
6363
httpsAgent: new https.Agent({
6464
rejectUnauthorized: false
6565
})

0 commit comments

Comments
 (0)