Oops! Fix uses of old setting name.
This commit is contained in:
parent
0eb8ba6408
commit
0ad218f1e2
@ -92,7 +92,7 @@ Redirect =
|
|||||||
securityCheck: (URL) ->
|
securityCheck: (URL) ->
|
||||||
/^https:\/\//.test(URL) or
|
/^https:\/\//.test(URL) or
|
||||||
location.protocol is 'http:' or
|
location.protocol is 'http:' or
|
||||||
Conf['Except Archives from Encryption']
|
Conf['Exempt Archives from Encryption']
|
||||||
|
|
||||||
navigate: (dest, data, alternative) ->
|
navigate: (dest, data, alternative) ->
|
||||||
Redirect.init() unless Redirect.data
|
Redirect.init() unless Redirect.data
|
||||||
|
|||||||
@ -87,7 +87,7 @@ class Fetcher
|
|||||||
responseType: 'json'
|
responseType: 'json'
|
||||||
withCredentials: archive.withCredentials
|
withCredentials: archive.withCredentials
|
||||||
return true
|
return true
|
||||||
else if Conf['Except Archives from Encryption']
|
else if Conf['Exempt Archives from Encryption']
|
||||||
CrossOrigin.json url, (response) =>
|
CrossOrigin.json url, (response) =>
|
||||||
{media} = response
|
{media} = response
|
||||||
if media then for key of media when /_link$/.test key
|
if media then for key of media when /_link$/.test key
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user