v1.1.4: fix Undefined JSON error — config.VERSION always set
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user