Commit c97e3f9d authored by tom's avatar tom

[skip ci] update csp for google recaptcha

parent 6f17cf0c
...@@ -8,6 +8,9 @@ export function googleReCaptcha(): CspDev.DirectiveDescriptor { ...@@ -8,6 +8,9 @@ export function googleReCaptcha(): CspDev.DirectiveDescriptor {
} }
return { return {
'connect-src': [
'https://www.google.com/recaptcha/api2/clr',
],
'script-src': [ 'script-src': [
'https://www.google.com/recaptcha/api.js', 'https://www.google.com/recaptcha/api.js',
'https://www.gstatic.com', 'https://www.gstatic.com',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment