Set propfind depth to 1 (nginx doesn't support infinity)
This commit is contained in:
parent
af90d3b26f
commit
163546d5b3
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ async function send_request() {
|
||||||
}
|
}
|
||||||
// NGINX is nonstandard in not having this as the default
|
// NGINX is nonstandard in not having this as the default
|
||||||
if (response_options.method == "PROPFIND") {
|
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));
|
const response = await fetch(new Request("https://libreinternet.club/" + editorurl.value, response_options));
|
||||||
editorresponse.value = await response.text();
|
editorresponse.value = await response.text();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue