mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
🔨 Fix config
This commit is contained in:
parent
79adbb3589
commit
1209e84e5a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue