This commit is contained in:
Jamie Curnow committed 2025-10-02 08:10:42 +10:00
1 parent 330993f028
commit fadec9751e
355 files changed
+9308 -17813

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
import * as api from "./base";
export async function toggleStream(id: number, enabled: boolean, abortController?: AbortController): Promise<boolean> {
return await api.post(
{
url: `/nginx/streams/${id}/${enabled ? "enable" : "disable"}`,
},
abortController,
);
}