Fix String Error (#18)

This commit is contained in:
Hyperling 2024-02-08 09:32:54 -07:00 committed by GitHub
parent dbb008ccda
commit 5874bcc361
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -237,7 +237,7 @@ async function main() {
//console.log(req); //console.log(req);
//console.log(res); //console.log(res);
console.log("*wildcard* replying to", req.socket.remoteAddress, "asking for", req.url) console.log("*wildcard* replying to", req.socket.remoteAddress, "asking for", req.url)
let html = execSync("./pages/home.php"); let html = "" + execSync("./pages/home.php");
stringsToRemove.forEach(string => { stringsToRemove.forEach(string => {
html = html.replace(string, ""); html = html.replace(string, "");
}); });