Changed so that the Top page starts with long fast selected

This commit is contained in:
Pablo Revilla
2025-06-01 22:54:42 -07:00
parent 9bca3566f6
commit 4d9d893868

View File

@@ -1367,7 +1367,9 @@ async def get_config(request):
"MQTT Server": mqtt.get("server", ""),
"Topics": json.loads(mqtt.get("topics", "[]")),
"Release": SOFTWARE_RELEASE
})
},
dumps=lambda obj: json.dumps(obj, indent=2))
except (json.JSONDecodeError, TypeError):
return web.json_response({"error": "Invalid configuration format"}, status=500)