test
This commit is contained in:
parent
803e6c2c8a
commit
68ec17c8a8
@ -279,7 +279,7 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string
|
|||||||
name="description"
|
name="description"
|
||||||
content="A site to manage game servers built with react and go using docker"
|
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/lib/xterm.js"></script>
|
||||||
<script src="xterm-addon-fit/lib/xterm-addon-fit.js"></script>
|
<script src="xterm-addon-fit/lib/xterm-addon-fit.js"></script>
|
||||||
</head>
|
</head>
|
||||||
@ -294,8 +294,8 @@ export function ActionItem(p: { action: ActionInfo, identifierSubstring?: string
|
|||||||
terminal.open(terminalContainer);
|
terminal.open(terminalContainer);
|
||||||
fitAddon.fit();
|
fitAddon.fit();
|
||||||
|
|
||||||
if ("`+websocket+`") {
|
if ("${websocket}") {
|
||||||
const socket = new WebSocket("`+websocket+`");
|
const socket = new WebSocket("${websocket}");
|
||||||
|
|
||||||
socket.onerror = (ev) => {
|
socket.onerror = (ev) => {
|
||||||
console.log(ev);
|
console.log(ev);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user