diff --git a/configurator/CHANGELOG.md b/configurator/CHANGELOG.md index 6344bc1..c8df292 100644 --- a/configurator/CHANGELOG.md +++ b/configurator/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.2.7 +- Setting SO_REUSEADDR on socket for proper restarts +- Using Threading to handle multiple connections +- New VERIFY_HOSTNAME option to block requests without correct host header +- Fixed filebrowser hiding + ## 0.2.6 - Displaying current filename in title - Added menu item to open configurator in new tab diff --git a/configurator/config.json b/configurator/config.json index 59f36ad..b1c3b5c 100644 --- a/configurator/config.json +++ b/configurator/config.json @@ -1,6 +1,6 @@ { "name": "Configurator", - "version": "0.2.6", + "version": "0.2.7", "slug": "configurator", "description": "Browser-based configuration file editor for Home Assistant.", "url": "https://home-assistant.io/addons/configurator", @@ -35,7 +35,8 @@ "banlimit": "int", "ignore_pattern": ["str"], "dirsfirst": "bool", - "sesame": "str?" + "sesame": "str?", + "verify_hostname": "str?" }, "image": "homeassistant/{arch}-addon-configurator" } diff --git a/configurator/map.py b/configurator/map.py index 691672a..1c8ad6c 100644 --- a/configurator/map.py +++ b/configurator/map.py @@ -26,6 +26,7 @@ configurator = { 'BANLIMIT': options['banlimit'], 'DIRSFIRST': options['dirsfirst'], 'SESAME': options.get('sesame'), + 'VERIFY_HOSTNAME': options.get('verify_hostname'), } with Path(sys.argv[1]).open('w') as json_file: