From 7dc2f5c5c72a0c2f3ac6221685fe4f3795f770a8 Mon Sep 17 00:00:00 2001 From: Stefan Etringer Date: Mon, 30 Jun 2025 09:50:28 +0000 Subject: [PATCH] separated xterm in static dir --- static/start-interactive.js | 6 +++--- static/{ => xterm}/xterm-addon-fit.js | 0 static/{ => xterm}/xterm.css | 0 static/{ => xterm}/xterm.js | 0 templates/index.html | 6 +++--- 5 files changed, 6 insertions(+), 6 deletions(-) rename static/{ => xterm}/xterm-addon-fit.js (100%) rename static/{ => xterm}/xterm.css (100%) rename static/{ => xterm}/xterm.js (100%) diff --git a/static/start-interactive.js b/static/start-interactive.js index 8d3310a..b9ac4b0 100644 --- a/static/start-interactive.js +++ b/static/start-interactive.js @@ -26,9 +26,9 @@ function getQueryParam(name) { } function makeWsUrl() { -const proxyIp = getQueryParam("ip"); // "10.0.0.42" if you came via /proxyAgent -const proxyPort = getQueryParam("port"); // "8080" -const usingProxy = proxyIp && proxyPort; // truthy only in that case + const proxyIp = getQueryParam("ip"); // "10.0.0.42" if you came via /proxyAgent + const proxyPort = getQueryParam("port"); // "8080" + const usingProxy = proxyIp && proxyPort; // truthy only in that case if (usingProxy) { // Build ws(s):///proxyAgent/terminal?ip=…&port=… diff --git a/static/xterm-addon-fit.js b/static/xterm/xterm-addon-fit.js similarity index 100% rename from static/xterm-addon-fit.js rename to static/xterm/xterm-addon-fit.js diff --git a/static/xterm.css b/static/xterm/xterm.css similarity index 100% rename from static/xterm.css rename to static/xterm/xterm.css diff --git a/static/xterm.js b/static/xterm/xterm.js similarity index 100% rename from static/xterm.js rename to static/xterm/xterm.js diff --git a/templates/index.html b/templates/index.html index a94854b..57bfb78 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,9 +14,9 @@ - - - + + + g2: gommand & gontrol