Skip to content

Commit

Permalink
when deep proxy is enabled, follow redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
CorySanin committed Aug 9, 2020
1 parent f7b19b2 commit eb9bb8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const MATCHURL = new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[
const proxy = httpProxy.createProxyServer({
secure: false,
changeOrigin: true,
ignorePath: true
ignorePath: true,
followRedirects: true
});

let config = {
Expand Down

0 comments on commit eb9bb8b

Please sign in to comment.