1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/kimchi/alpine-specific-kimchi.api.patch
2018-03-26 19:42:10 +02:00

23 lines
1.1 KiB
Diff

--- a/ui/js/src/kimchi.api.js
+++ b/ui/js/src/kimchi.api.js
@@ -324,7 +324,7 @@
url += server_root;
url += "/plugins/kimchi/serial/html/serial.html";
url += "?port=" + proxy_port;
- url += "&path=" + server_root + "/websockify";
+ url += "&path=" + server_root + "websockify";
url += "?token=" + wok.urlSafeB64Encode(vm+'-console').replace(/=*$/g, "");
url += '&encrypt=1';
window.open(url);
@@ -346,9 +346,9 @@
}).done(function() {
url = 'https://' + location.hostname + ':' + proxy_port;
url += server_root;
- url += "/plugins/kimchi/novnc/vnc_auto.html";
+ url += "/plugins/kimchi/novnc/vnc_lite.html";
url += "?port=" + proxy_port;
- url += "&path=" + server_root + "/websockify";
+ url += "&path=" + server_root + "websockify";
/*
* From python documentation base64.urlsafe_b64encode(s)
* substitutes - instead of + and _ instead of / in the