Fehler bezüglich https behoben.

This commit is contained in:
2024-02-25 20:25:38 +01:00
parent 994fc64f42
commit 78c273b4c7

View File

@@ -8,15 +8,13 @@ if [ -z "$PASSWORD" ]; then
# Konfiguration für keinen Authentifizierungsmodus
echo "bind-addr: 0.0.0.0:8443
auth: none
password:
cert: false" > /config/code-server/config.yaml
password:" > /config/code-server/config.yaml
else
echo "Starte Code Server mit Passwort..."
# Konfiguration für Passwort-Authentifizierungsmodus
echo "bind-addr: 0.0.0.0:8443
auth: password
password: $PASSWORD
cert: false" > /config/code-server/config.yaml
password: $PASSWORD" > /config/code-server/config.yaml
fi
# Die ID der Extension, die installiert werden soll