fix(router): replace faulty parameter
This commit is contained in:
parent
903e437009
commit
5fa7c5c898
1 changed files with 1 additions and 1 deletions
|
|
@ -247,7 +247,7 @@ def get_flask_app(config: Config) -> FlaskApp:
|
||||||
|
|
||||||
https_url = url_upgrade_to_https(request.url, config.server.ssl_port)
|
https_url = url_upgrade_to_https(request.url, config.server.ssl_port)
|
||||||
|
|
||||||
if https_url != request.url and not url_has_tld(request._view, 'onion'):
|
if https_url != request.url and not url_has_tld(request.url, 'onion'):
|
||||||
|
|
||||||
request._view['before_request__ssl_url'] = https_url
|
request._view['before_request__ssl_url'] = https_url
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue