Fix header url param to not render html
This commit is contained in:
parent
64e86994f7
commit
b12eb7f1f0
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ socket.on('headerBackground', (data: string) => {
|
|||
|
||||
socket.on('header', (data: string) => {
|
||||
if (data) {
|
||||
header.innerHTML = data;
|
||||
header.textContent = data;
|
||||
header.style.display = 'block';
|
||||
// header is 19px and footer is 19px, recaculate new terminal-container and resize
|
||||
terminalContainer.style.height = 'calc(100% - 38px)';
|
||||
|
|
Loading…
Reference in a new issue