feat: nomad

This commit is contained in:
2026-04-06 20:16:37 +02:00
parent 6e8a4af40d
commit d7e9788f99
5 changed files with 58 additions and 74 deletions

View File

@@ -242,7 +242,7 @@ export async function saveConfig(kind: "reticulum" | "nomadnet", content: string
}
export async function restartServices(): Promise<{ nomadnet_restarted: boolean }> {
const res = await fetch("/api/browse/config/restart", { method: "POST" });
const res = await fetch("/api/browse/restart", { method: "POST" });
if (!res.ok) throw new Error(await res.text());
return res.json();
}