remove comment about removing comments

This commit is contained in:
Ayo 2023-10-14 21:03:29 +02:00
parent 7dda73fef5
commit 5faeadeba1

View file

@ -122,7 +122,6 @@ function deleteServerScripts(html: string): string {
function cleanScript(scripts: string[]): string { function cleanScript(scripts: string[]): string {
let script = scripts.map((s) => s.trim()).join(" "); let script = scripts.map((s) => s.trim()).join(" ");
// remove comments
script = removeComments(script); script = removeComments(script);
return script.replace(/\n/g, "").replace(/\s+/g, " "); return script.replace(/\n/g, "").replace(/\s+/g, " ");