add necessary endpoint for http subscription

This commit is contained in:
arc-alex
2023-11-04 20:34:08 +01:00
parent 2b87f72acb
commit 4c38207a15
3 changed files with 49 additions and 2 deletions
@@ -54,6 +54,10 @@ export class DataProvider {
return data.osc;
}
static getHttp() {
return data.http;
}
static getAliases() {
return data.aliases;
}
@@ -86,6 +90,11 @@ export class DataProvider {
await this.persist();
}
static async setHttp(newData) {
data.http = { ...newData };
await this.persist();
}
static getRundown() {
return [...data.rundown];
}