scheme arg to create the redirect should be 'https' (#2712)

This commit is contained in:
Matt Bendiksen 2023-03-16 05:13:17 -05:00 committed by GitHub
parent 5a0ed75171
commit 08a81c81be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ def proxy(request, path):
path=path, path=path,
_server=https.config.SERVER_NAME, _server=https.config.SERVER_NAME,
_external=True, _external=True,
_scheme="http", _scheme="https",
) )
return response.redirect(url) return response.redirect(url)