Fix String Error (#18)
This commit is contained in:
parent
dbb008ccda
commit
5874bcc361
2
main.js
2
main.js
@ -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, "");
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user