Skip to content

Commit

Permalink
scheme arg to create the redirect should be 'https' (#2712)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbendiksen committed Mar 16, 2023
1 parent 5a0ed75 commit 08a81c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/http_redirect.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def proxy(request, path):
path=path,
_server=https.config.SERVER_NAME,
_external=True,
_scheme="http",
_scheme="https",
)
return response.redirect(url)

Expand Down

0 comments on commit 08a81c8

Please sign in to comment.