Fix issue with HTTPS Redirect. #1876
This commit is contained in:
parent
a3859734e3
commit
3adb81885b
@ -82,7 +82,7 @@ Main =
|
||||
items['previousversion'] = undefined
|
||||
($.getSync or $.get) items, (items) ->
|
||||
if !$.perProtocolSettings and (items['Redirect to HTTPS'] ? Conf['Redirect to HTTPS']) and location.protocol isnt 'https:'
|
||||
location.replace('https:' + location.host + location.pathname + location.search + location.hash)
|
||||
location.replace('https://' + location.host + location.pathname + location.search + location.hash)
|
||||
return
|
||||
$.asap docSet, ->
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user