Fix Tailscale peer detection by parsing text output
All checks were successful
Build and Release / build-and-release (push) Successful in 1m13s

Replace JSON parsing with simpler text output parsing from tailscale
status command. The text format clearly shows hostname and connection
method (direct/relay/idle) making detection more reliable.

Fixes issues with incorrect hostname (localhost instead of actual name)
and incorrect connection method detection (showing relay when actually
using direct connection).
This commit is contained in:
2025-12-09 10:34:55 +01:00
parent 5b1e39cfca
commit 8da4522d85
5 changed files with 46 additions and 48 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "cm-dashboard"
version = "0.1.263"
version = "0.1.264"
edition = "2021"
[dependencies]