fix: dev URL path

This commit is contained in:
Eric Paulsen 2022-03-09 11:01:45 -06:00
parent ee9e600c5a
commit abfa9f9113
No known key found for this signature in database
GPG Key ID: 044A5FD08F91952E
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
// ex. /api/v0/workspaces/[id]/proxy/apps/desktop/)
path = window.location.pathname;
path = path.replace(/^\/|\/$/g, "");
path = path + "/websockify";
path = path + "websockify";
console.log(path);
} else {
console.error("window.location.pathname is undefined");