mirror of
https://github.com/sussy-code/sudo-proxy.git
synced 2026-04-20 16:32:04 +00:00
make redirection with a body work
This commit is contained in:
parent
a875f0d335
commit
f9f46cde0b
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ async function handleRequest(oRequest, destination, iteration = 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fetch the new resource
|
// Fetch the new resource
|
||||||
const oResponse = await fetch(request);
|
const oResponse = await fetch(request.clone());
|
||||||
|
|
||||||
// If the server returned a redirect, follow it
|
// If the server returned a redirect, follow it
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue