feat: Updated self hosted free plans
Server Deploy / deploy (push) Successful in 40s

This commit is contained in:
2026-07-27 16:26:20 +01:00
parent 66140aaf58
commit 8fd5eacec6
8 changed files with 77 additions and 144 deletions
+2
View File
@@ -308,6 +308,8 @@ export const api = {
post<Instance>("/api/instances/link", { instance_id, name }),
createInstance: (name: string) => post<Instance>("/api/instances", { name }),
renewInstance: (id: string) => post<License>(`/api/instances/${id}/renew`, {}),
// Self-hosted Free: issue the licence on an already-linked instance.
claimFree: (id: string) => post<License>(`/api/instances/${id}/claim-free`, {}),
relink: (id: string, instance_id: string) =>
post<License>(`/api/instances/${id}/relink`, { instance_id }),
license: (id: string) => req<License & { blob?: string }>(`/api/instances/${id}/license`),