mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-31 18:55:32 +01:00
Fix configurator SSL certificate path (#366)
This commit is contained in:
committed by
Pascal Vizeli
parent
07f7634e94
commit
3219d692f2
@@ -1,6 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 0.5
|
||||
## 1.1
|
||||
- Fixed ssl certificate path bug
|
||||
|
||||
## 1.0
|
||||
- Added basic git stash functionality
|
||||
- Added NOTIFY_SERVICE option
|
||||
- Notifying if used passwords are insecure and when SESAME has been used
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Configurator",
|
||||
"version": "1.0",
|
||||
"version": "1.1",
|
||||
"slug": "configurator",
|
||||
"description": "Browser-based configuration file editor for Home Assistant.",
|
||||
"url": "https://home-assistant.io/addons/configurator",
|
||||
|
||||
@@ -23,8 +23,8 @@ export HC_VERIFY_HOSTNAME=$(jq --raw-output '.verify_hostname // empty' $CONFIG_
|
||||
|
||||
SSL=$(jq --raw-output '.ssl // false' $CONFIG_PATH)
|
||||
if [ "$SSL" == "true" ]; then
|
||||
export HC_SSL_CERTIFICATE=$(jq --raw-output '.certfile' $CONFIG_PATH)
|
||||
export HC_SSL_KEY=$(jq --raw-output '.keyfile' $CONFIG_PATH)
|
||||
export HC_SSL_CERTIFICATE=ssl/$(jq --raw-output '.certfile' $CONFIG_PATH)
|
||||
export HC_SSL_KEY=ssl/$(jq --raw-output '.keyfile' $CONFIG_PATH)
|
||||
fi
|
||||
|
||||
LOGLEVEL=$(jq --raw-output '.loglevel // empty' $CONFIG_PATH)
|
||||
|
||||
Reference in New Issue
Block a user