diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bd5535..af31e7e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.5.6 + +### Fixes +* fix config file having extra data due to a request sending twice + ## 1.5.5 ### Fixes diff --git a/constants.py b/constants.py index b171b5d..e3b7db0 100644 --- a/constants.py +++ b/constants.py @@ -5,6 +5,6 @@ blacklistFile = 'word_blacklist.txt' configFile = 'config.json' faviconDir = Path.cwd() / 'static' / 'icons' / 'favicon' appName = 'CatAsk' -version = '1.5.5' +version = '1.5.6' # id (identifier) is to be interpreted as described in https://semver.org/#spec-item-9 version_id = '-alpha' diff --git a/templates/admin/index.html b/templates/admin/index.html index 2084b4e..accc5a6 100644 --- a/templates/admin/index.html +++ b/templates/admin/index.html @@ -13,7 +13,7 @@ Skip to preview
-
+

Instance @@ -59,7 +59,7 @@

Customize

Favicon

-
+

Current favicon: {{ cfg.instance.title }}'s icon

@@ -73,7 +73,7 @@
-
+

Accent color

{#

Color

#}
@@ -220,7 +220,7 @@

-
+
@@ -313,7 +313,6 @@ const forms = document.querySelectorAll('form'); forms.forEach((form) => { form.addEventListener('htmx:afterRequest', function(event) { - console.log("reached event listener"); const jsonResponse = event.detail.xhr.response; if (jsonResponse) { const parsed = JSON.parse(jsonResponse);