Archived
1
0

fix: sanitize password and cookie key

This commit is contained in:
Joe Previte
2021-06-07 14:46:59 -07:00
parent deaa2242ca
commit 3b50bfc17d
6 changed files with 30 additions and 6 deletions

View File

@ -3,7 +3,7 @@ set -euo pipefail
# This is due to an upstream issue with RHEL7/CentOS 7 comptability with node-argon2
# See: https://github.com/cdr/code-server/pull/3422#pullrequestreview-677765057
npm_config_build_from_source=true
export npm_config_build_from_source=true
main() {
cd "$(dirname "${0}")/../.."

View File

@ -20,7 +20,7 @@ detect_arch() {
ARCH="${NPM_CONFIG_ARCH:-$(detect_arch)}"
# This is due to an upstream issue with RHEL7/CentOS 7 comptability with node-argon2
# See: https://github.com/cdr/code-server/pull/3422#pullrequestreview-677765057
npm_config_build_from_source=true
export npm_config_build_from_source=true
main() {
# Grabs the major version of node from $npm_config_user_agent which looks like