Update frontend build script for OpenSSL and sass

This commit is contained in:
Tobias 2025-11-04 19:33:15 +01:00 committed by GitHub
parent 44f467bbb7
commit e6da567f9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,6 +112,7 @@ cp -r /opt/nginxproxymanager/global/* /app/global
msg_ok "Set up Environment"
msg_info "Building Frontend"
export NODE_OPTIONS=--openssl-legacy-provide
cd /opt/nginxproxymanager/frontend
# Replace node-sass with sass in package.json before installation
sed -i 's/"node-sass".*$/"sass": "^1.92.1",/g' package.json