From c9f5cc605b3af7a462e566505ff38c4c782db436 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Wed, 4 Jun 2025 00:16:04 +1200 Subject: [PATCH] Use status 200 --- materialious/static/nodejs-android/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/materialious/static/nodejs-android/index.js b/materialious/static/nodejs-android/index.js index eb5c3c1d..c5140e69 100644 --- a/materialious/static/nodejs-android/index.js +++ b/materialious/static/nodejs-android/index.js @@ -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(204); + res.writeHead(200); return res.end(); } else if (targetUrl === 'http://materialious__deny-insecure-requests') { rejectUnauthorized = true; - res.writeHead(204); + res.writeHead(200); return res.end(); }