Terminal link: use window.location.hostname (local IP) not Tailscale
This commit is contained in:
@@ -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 = '';
|
||||
|
||||
Reference in New Issue
Block a user