quickfix: partial mitigation for #193, use current host for websock address

This commit is contained in:
Ilya Kreymer 2022-03-14 15:29:35 -07:00
parent 8ce7a9802b
commit 912004751d

View File

@ -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) => {