Terminal link: use window.location.hostname (local IP) not Tailscale

This commit is contained in:
Gmer4Lfe
2026-05-30 21:16:07 -04:00
parent e449e1f954
commit 5bd8d13e66
+1 -1
View File
@@ -307,7 +307,7 @@ function _renderActions(nodes, cfg) {
const selfNode = nodes.find(n => n.is_me);
const remotes = nodes.filter(n => !n.is_me);
const hasPartner = remotes.some(n => n.hostname);
const termBase = selfNode && selfNode.ts_ip ? `https://${selfNode.ts_ip}/webterminal/ttyd/` : null;
const termBase = `https://${window.location.hostname}/webterminal/ttyd/`;
const termCmd = `bash /mnt/user/appdata/Varaverk/Partnership/partnership_onboard.sh --phase1-only`;
let html = '';