mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
configurator: Fix and enforce secure base path (#906)
* configurator: Fix typo in ENFORCE_BASEPATH option * configurator: Enforce base path by default * configurator: Bump version to 4.1
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 4.1
|
||||
|
||||
- Fixes an issue with the enforce base path option
|
||||
- Enforce secure base path by default
|
||||
|
||||
## 4.0
|
||||
|
||||
- Removed direct access from the add-on, making the add-on Ingress only
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Configurator",
|
||||
"version": "4.0",
|
||||
"version": "4.1",
|
||||
"slug": "configurator",
|
||||
"description": "Browser-based configuration file editor for Home Assistant",
|
||||
"url": "https://github.com/home-assistant/hassio-addons/tree/master/configurator",
|
||||
@@ -14,7 +14,7 @@
|
||||
"map": ["backup:rw", "config:rw", "share:rw", "ssl:rw"],
|
||||
"options": {
|
||||
"dirsfirst": false,
|
||||
"enforce_basepath": false,
|
||||
"enforce_basepath": true,
|
||||
"ignore_pattern": ["__pycache__", ".cloud", ".storage", "deps"],
|
||||
"ssh_keys": []
|
||||
},
|
||||
|
||||
@@ -32,7 +32,7 @@ fi
|
||||
# Setup and run configurator
|
||||
export HC_HASS_API_PASSWORD="${HASSIO_TOKEN}"
|
||||
export HC_DIRFIRST="${DIRSFIRST}"
|
||||
export HC_ENFORECE_BASEPATH="${ENFORCE_BASEPATH}"
|
||||
export HC_ENFORCE_BASEPATH="${ENFORCE_BASEPATH}"
|
||||
export HC_IGNORE_PATTERN="${IGNORE_PATTERN}"
|
||||
|
||||
exec hass-configurator /etc/configurator.conf
|
||||
|
||||
Reference in New Issue
Block a user