put xterm into the binary
This commit is contained in:
parent
4f0e5cdd79
commit
34f64dba09
|
@ -27,8 +27,8 @@ function getQueryParam(name) {
|
||||||
|
|
||||||
function makeWsUrl() {
|
function makeWsUrl() {
|
||||||
const proxyIp = getQueryParam("ip"); // "10.0.0.42" if you came via /proxyAgent
|
const proxyIp = getQueryParam("ip"); // "10.0.0.42" if you came via /proxyAgent
|
||||||
const proxyPort = getQueryParam("port"); // "8080"
|
const proxyPort = getQueryParam("port");
|
||||||
const usingProxy = proxyIp && proxyPort; // truthy only in that case
|
const usingProxy = proxyIp && proxyPort; // true only in that case
|
||||||
|
|
||||||
if (usingProxy) {
|
if (usingProxy) {
|
||||||
// Build ws(s)://<main-server>/proxyAgent/terminal?ip=…&port=…
|
// Build ws(s)://<main-server>/proxyAgent/terminal?ip=…&port=…
|
||||||
|
|
Loading…
Reference in New Issue