Fix header url param to not render html

This commit is contained in:
elongstreet88 2023-10-25 23:13:54 -05:00 committed by GitHub
parent 64e86994f7
commit b12eb7f1f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)';