fix 301 and 302 not redirecting in http(s) proxy

- also add experimental beta mail signature preview option
This commit is contained in:
zefie
2022-10-13 23:54:39 -04:00
parent 0ff03f050d
commit 9bea13151c
3 changed files with 16 additions and 3 deletions

View File

@@ -812,6 +812,7 @@ async function doHTTPProxy(socket, request_headers) {
port: request_data.port,
path: request_data.path,
method: request_data.method,
followAllRedirects: true,
headers: {
"User-Agent": request_headers["User-Agent"] || "WebTV"
}