quickfix: partial mitigation for #193, use current host for websock address
This commit is contained in:
parent
8ce7a9802b
commit
912004751d
@ -233,7 +233,7 @@ export class Screencast extends LitElement {
|
||||
}
|
||||
|
||||
const baseURL = `${window.location.protocol === "https:" ? "wss" : "ws"}:${
|
||||
process.env.WEBSOCKET_HOST || window.location.host
|
||||
window.location.host
|
||||
}/watch/${this.archiveId}/${this.crawlId}`;
|
||||
|
||||
this.watchIPs.forEach((ip: string) => {
|
||||
|
Loading…
Reference in New Issue
Block a user