From 163546d5b3d43496bc225f200c3ebad25bd93c23 Mon Sep 17 00:00:00 2001 From: sjkillen Date: Wed, 20 May 2026 16:36:45 -0600 Subject: [PATCH] Set propfind depth to 1 (nginx doesn't support infinity) --- www/editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/editor.js b/www/editor.js index 332df01..148180a 100644 --- a/www/editor.js +++ b/www/editor.js @@ -20,7 +20,7 @@ async function send_request() { } // NGINX is nonstandard in not having this as the default if (response_options.method == "PROPFIND") { - response_options.headers["Depth"] = "infinity"; + response_options.headers["Depth"] = "1"; } const response = await fetch(new Request("https://libreinternet.club/" + editorurl.value, response_options)); editorresponse.value = await response.text();