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:
parent
11739db81f
commit
9f33778064
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue