1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-08-08 23:15:31 +02:00

chore: check value of env variable

This commit is contained in:
nilsorbat 2023-02-28 08:58:26 +01:00
parent 11739db81f
commit 9f33778064
No known key found for this signature in database
GPG key ID: 0F9E4305534A2380

View file

@ -7,7 +7,7 @@ dotenv.config({
});
function buildSSLConfig() {
if (process.env.REJECT_UNAUTHORIZED_SSL_CERTIFICATE) {
if (process.env.REJECT_UNAUTHORIZED_SSL_CERTIFICATE === 'false') {
return {
rejectUnauthorized: false,
};