From 5874bcc361f0e8f58cf302cf0356703e06192a34 Mon Sep 17 00:00:00 2001 From: Chad Date: Thu, 8 Feb 2024 09:32:54 -0700 Subject: [PATCH] Fix String Error (#18) --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 6687400..8fb93ce 100755 --- a/main.js +++ b/main.js @@ -237,7 +237,7 @@ async function main() { //console.log(req); //console.log(res); 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 => { html = html.replace(string, ""); });