Fix Hytale prometheus metrics and config editor syntax highlighting
All checks were successful
Deploy GSM / deploy (push) Successful in 27s

- Add missing "hytale" entry to SERVER_JOBS in prometheus.js
- Fix config editor regex bug that was corrupting CSS class names (e.g. text-cyan-400 becoming text-cyan-<span>400</span>)
- Use placeholder tokens to prevent numbers regex from matching inside already-replaced spans

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-15 13:55:28 +01:00
parent 8a3690d61f
commit 7aad85c5d4
2 changed files with 37 additions and 16 deletions

View File

@@ -9,7 +9,8 @@ const SERVER_JOBS = {
"zomboid": "zomboid",
"palworld": "palworld",
"terraria": "terraria",
"openttd": "openttd"
"openttd": "openttd",
"hytale": "hytale"
};
export async function queryPrometheus(query) {