test
This commit is contained in:
parent
803e6c2c8a
commit
68ec17c8a8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user