This commit is contained in:
WardPearce
2025-06-04 00:15:35 +12:00
parent 95866087b1
commit 2ef91756fd
+2 -2
View File
@@ -136,11 +136,11 @@ const server = http.createServer((req, res) => {
// Quick way to quickly send commands between app and nodejs backend.
if (targetUrl === 'http://materialious__allow-insecure-requests') {
rejectUnauthorized = false;
res.writeHead(201);
res.writeHead(204);
return res.end();
} else if (targetUrl === 'http://materialious__deny-insecure-requests') {
rejectUnauthorized = true;
res.writeHead(201);
res.writeHead(204);
return res.end();
}