diff --git a/src/common.tsx b/src/common.tsx index eff32f7..285a8ff 100644 --- a/src/common.tsx +++ b/src/common.tsx @@ -279,7 +279,7 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string name="description" content="A site to manage game servers built with react and go using docker" /> - Server Manager + Terminal @@ -294,8 +294,8 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string terminal.open(terminalContainer); fitAddon.fit(); - if ("`+websocket+`") { - const socket = new WebSocket("`+websocket+`"); + if ("${websocket}") { + const socket = new WebSocket("${websocket}"); socket.onerror = (ev) => { console.log(ev);