fix(core): Correct NODE_OPTIONS export syntax for custom certificates (#13779)

This commit is contained in:
pemontto
2025-03-10 21:07:30 +11:00
committed by GitHub
parent 321fac2efa
commit 080fc514e6

View File

@@ -1,7 +1,7 @@
#!/bin/sh
if [ -d /opt/custom-certificates ]; then
echo "Trusting custom certificates from /opt/custom-certificates."
export NODE_OPTIONS=--use-openssl-ca $NODE_OPTIONS
export NODE_OPTIONS="--use-openssl-ca $NODE_OPTIONS"
export SSL_CERT_DIR=/opt/custom-certificates
c_rehash /opt/custom-certificates
fi