This commit is contained in:
NoLogicAlan committed 2026-10-21 01:42:25 +03:00
1 parent 4dd9f2ade6
commit b068e3e95c
6 files changed
+15 -5

No files matched your search

+7
View File
@@ -1,6 +1,13 @@
#!/bin/sh
set -e
export OPENSSL_CONF="${OPENSSL_CONF:-/etc/ssl/openssl.cnf}"
if [ -z "$NODE_OPTIONS" ]; then
export NODE_OPTIONS="--tls-max-v1.2 --openssl-shared-config"
elif ! echo "$NODE_OPTIONS" | grep -q -- "--tls-max-v1.2"; then
export NODE_OPTIONS="--tls-max-v1.2 $NODE_OPTIONS"
fi
CONFIG_FILE="/app/config.json"
if [ ! -f "$CONFIG_FILE" ]; then