Files
nginx-proxy-manager/frontend/src/api/backend/createStream.ts
T

11 lines
265 B
TypeScript
Raw Normal View History

2025-09-02 23:56:00 +10:00
import * as api from "./base";
import type { Stream } from "./models";
2025-09-21 17:16:46 +10:00
export async function createStream(item: Stream): Promise<Stream> {
return await api.post({
url: "/nginx/streams",
// todo: only use whitelist of fields for this data
data: item,
});
2025-09-02 23:56:00 +10:00
}