Defer Except -> Exempt change until settings migration code is in place.
This commit is contained in:
parent
3f933914ac
commit
3bddbdc5e3
@ -87,7 +87,7 @@ Redirect =
|
||||
securityCheck: (URL) ->
|
||||
/^https:\/\//.test(URL) or
|
||||
location.protocol is 'http:' or
|
||||
Conf['Exempt Archives from Encryption']
|
||||
Conf['Except Archives from Encryption']
|
||||
|
||||
navigate: (URL, alternative) ->
|
||||
if URL and (
|
||||
|
||||
@ -30,7 +30,7 @@ Config =
|
||||
true
|
||||
'Redirect dead threads and images to the archives.'
|
||||
]
|
||||
'Exempt Archives from Encryption': [
|
||||
'Except Archives from Encryption': [
|
||||
false
|
||||
'Permit loading content from, and warningless redirects to, HTTP-only archives from HTTPS pages.'
|
||||
]
|
||||
|
||||
@ -86,7 +86,7 @@ class Fetcher
|
||||
responseType: 'json'
|
||||
withCredentials: url.archive.withCredentials
|
||||
return true
|
||||
else if Conf['Exempt Archives from Encryption']
|
||||
else if Conf['Except Archives from Encryption']
|
||||
CrossOrigin.json url, (response) =>
|
||||
{media} = response
|
||||
if media then for key of media when /_link$/.test key
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user