Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dkxce authored Jul 8, 2023
1 parent 86751f0 commit aeee05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def proxy_view(request, url, requests_args=None, *args, **kwargs):
headers["X-Real-IP"] = value
headers["X-Forwarded-For"] = value
if key.upper() == "NOREDIRECT":
follow_redirect = value
follow_redirect = not value

if 'headers' not in requests_args:
requests_args['headers'] = {}
Expand Down

0 comments on commit aeee05a

Please sign in to comment.