Try to fix Color picker of lists is empty.

Thanks to bronger and xet7 !

Related #3418
This commit is contained in:
Lauri Ojansivu 2021-01-06 15:32:47 +02:00
parent 94a3c1dc21
commit 26921a9c36

View file

@ -1,7 +1,7 @@
Oidc = {};
httpCa = false;
if (process.env.OAUTH2_CA_CERT !== undefined) {
if (process.env.OAUTH2_CA_CERT.length > 0) {
try {
const fs = Npm.require('fs');
httpCa = fs.readFileSync(process.env.OAUTH2_CA_CERT);