mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-25 23:41:45 +01:00
Merge pull request #2458 from alexbelgium/codex/fix-unbound-variable-netbird_datastore_enc_key
Avoid unbound variable for NETBIRD_DATASTORE_ENC_KEY in NetBird init
This commit is contained in:
@@ -61,7 +61,7 @@ export AUTH_CLIENT_SECRET="${AUTH_CLIENT_SECRET}"
|
||||
export AUTH_SUPPORTED_SCOPES="${AUTH_SUPPORTED_SCOPES}"
|
||||
export AUTH_REDIRECT_URI="https://${DOMAIN}:${DASHBOARD_PORT}/"
|
||||
export AUTH_SILENT_REDIRECT_URI="https://${DOMAIN}:${DASHBOARD_PORT}/silent"
|
||||
declare NETBIRD_DATASTORE_ENC_KEY
|
||||
NETBIRD_DATASTORE_ENC_KEY="${NETBIRD_DATASTORE_ENC_KEY:-}"
|
||||
|
||||
CONFIG_FILE="${DATA_PATH}/management.json"
|
||||
if [[ ! -f "${CONFIG_FILE}" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user