mirror of
https://github.com/hassio-addons/addon-home-panel.git
synced 2025-05-04 19:01:21 +00:00
👕 🔥 Fix linter warnings
This commit is contained in:
parent
f53e8b4cd3
commit
8db2f8250a
1 changed files with 5 additions and 5 deletions
|
@ -11,11 +11,6 @@ hass.log.info "Run API.."
|
|||
# shellcheck disable=SC2164
|
||||
cd /opt/api
|
||||
|
||||
local DB_PATH
|
||||
local CONFIG_PATH
|
||||
local SSL_PATH_CERT
|
||||
local SSL_PATH_KEY
|
||||
|
||||
DB_PATH=/config/home-panel.db
|
||||
CONFIG_PATH=/config/$(hass.config.get 'config_file')
|
||||
|
||||
|
@ -24,4 +19,9 @@ if hass.config.true 'ssl'; then
|
|||
SSL_PATH_KEY="/ssl/$(hass.config.get 'keyfile')"
|
||||
fi
|
||||
|
||||
export DB_PATH
|
||||
export CONFIG_PATH
|
||||
export SSL_PATH_CERT
|
||||
export SSL_PATH_KEY
|
||||
|
||||
exec node index.js
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue