Fix VNC URL on production builds
This commit is contained in:
@ -338,7 +338,7 @@ export class VMApi {
|
||||
let baseWSURL = APIClient.backendURL();
|
||||
if (!baseWSURL.includes("://"))
|
||||
baseWSURL =
|
||||
window.location.protocol + "://" + window.location.hostname + baseWSURL;
|
||||
window.location.protocol + "//" + window.location.host + baseWSURL;
|
||||
|
||||
return (
|
||||
baseWSURL.replace("http", "ws") +
|
||||
|
Reference in New Issue
Block a user