v1.1.4: fix Undefined JSON error — config.VERSION always set

This commit is contained in:
2026-07-28 11:53:32 +04:00
parent 9090a4a9c3
commit 3cef910004
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -101,6 +101,8 @@ def index():
instances = []
instance_groups = {}
config = {}
config["VERSION"] = current_app.config["VERSION"] # всегда, даже без токена
config["service_ids"] = []
stand = "?"
if active_token:
# create_client — автоопределение стенда + HttpClient