mirror of
https://github.com/movie-web/simple-proxy.git
synced 2025-09-13 16:43:26 +00:00
make redirection with a body work
This commit is contained in:
@@ -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 (
|
||||||
|
Reference in New Issue
Block a user