mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
fix: use healthy/unhealthy for info endpoint
This commit is contained in:
@@ -37,7 +37,7 @@ export async function loader({ request, context }: Route.LoaderArgs) {
|
||||
const healthy = await api.isHealthy();
|
||||
|
||||
const body = {
|
||||
status: healthy ? 'OK' : 'ERROR',
|
||||
status: healthy ? 'healthy' : 'unhealthy',
|
||||
headplane_version: __VERSION__,
|
||||
headscale_canonical_version: healthy ? context.hsApi.apiVersion : 'unknown',
|
||||
internal_versions: {
|
||||
|
||||
Reference in New Issue
Block a user