Add config export

This commit is contained in:
Jack Kingsman
2026-04-20 19:31:18 -07:00
parent 291bd85c78
commit 7528e4121f
5 changed files with 302 additions and 2 deletions
+1
View File
@@ -96,6 +96,7 @@ export const api = {
method: 'PATCH',
body: JSON.stringify(config),
}),
getPrivateKey: () => fetchJson<{ private_key: string }>('/radio/private-key'),
setPrivateKey: (privateKey: string) =>
fetchJson<{ status: string }>('/radio/private-key', {
method: 'PUT',