🔨 Fix config

This commit is contained in:
Timmo 2019-09-01 01:07:51 +01:00
parent 79adbb3589
commit 1209e84e5a

View file

@ -3,5 +3,4 @@
# Community Hass.io Add-ons: Home Panel
# This updates the internal auth secret for the API
# ==============================================================================
# shellcheck disable=2094,2016
bashio::jq /opt/panel/config/default.json '.authentication.secret="$(openssl rand -base64 32)"' > /opt/panel/config/default.json
sed -i -e "s/API_AUTH_SECRET/$(openssl rand -base64 32)/g" /opt/panel/config/default.json