more glossary fixes

This commit is contained in:
zefie
2025-08-11 19:34:27 -04:00
parent 68353e1e2d
commit bf0592e339
2 changed files with 55 additions and 55 deletions

View File

@@ -1260,7 +1260,7 @@ function handleProxy(socket, request_type, request_headers, res, data) {
headers['wtv-explanation-url'] = minisrv_config.services['http']['wtv-explanation'][res.statusCode];
}
}
let data_hex = Buffer.concat(data).toString('hex');
let data_hex = Buffer.concat(data).toString('hex');
if (data_hex.startsWith("0d0a0d0a")) data_hex = data_hex.slice(8);
if (data_hex.startsWith("0a0d0a")) data_hex = data_hex.slice(6);
if (data_hex.startsWith("0a0a")) data_hex = data_hex.slice(4);