This commit is contained in:
ACoolName 2024-06-02 22:49:21 +03:00
parent 803e6c2c8a
commit 68ec17c8a8

View File

@ -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"
/>
<title>Server Manager</title>
<title>Terminal</title>
<script src="xterm/lib/xterm.js"></script>
<script src="xterm-addon-fit/lib/xterm-addon-fit.js"></script>
</head>
@ -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);