add https check for crypto.randomUUID
This commit is contained in:
parent
ad4629576c
commit
a85d8fc1f8
@ -58,7 +58,7 @@ class ServerState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this._channelId = crypto.randomUUID();
|
this._channelId = crypto.randomUUID ? crypto.randomUUID() : "";
|
||||||
|
|
||||||
const conf = getConfFile();
|
const conf = getConfFile();
|
||||||
this._serverType = conf.loader;
|
this._serverType = conf.loader;
|
||||||
@ -115,7 +115,7 @@ class ServerState {
|
|||||||
|
|
||||||
this.startStream();
|
this.startStream();
|
||||||
await this.process.status;
|
await this.process.status;
|
||||||
this.status = 'stopped';
|
this.status = "stopped";
|
||||||
}
|
}
|
||||||
|
|
||||||
private async startStream() {
|
private async startStream() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user