Add hcaptcha.com and subdomains to Javascript Whitelist so that captcha on Cloudflare security check operates properly. #2584

This commit is contained in:
ccd0 2020-04-16 03:26:59 -07:00
parent 5262b34c34
commit bd1caa2568
2 changed files with 5 additions and 0 deletions

View File

@ -539,6 +539,9 @@ Settings =
/\/\/imgops\.com\/%URL/g
'//imgops.com/start?url=%URL'
)
if compareString < '00001.00014.00017.00002'
if data['jsWhitelist']?
set 'jsWhitelist', data['jsWhitelist'] + '\n\nhttps://hcaptcha.com\nhttps://*.hcaptcha.com'
changes
loadSettings: (data, cb) ->

View File

@ -862,6 +862,8 @@ Config =
http://cdn.mathjax.org
https://cdn.mathjax.org
https://cdnjs.cloudflare.com
https://hcaptcha.com
https://*.hcaptcha.com
'self'
'unsafe-inline'
'unsafe-eval'