From 2ef91756fd87552d0b74216d5bf075b07ae352de Mon Sep 17 00:00:00 2001 From: WardPearce Date: Wed, 4 Jun 2025 00:15:35 +1200 Subject: [PATCH] Used 204 --- 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 de620fb4..eb5c3c1d 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(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(); }