Share on twitter throws Content Security Policy error



I have a website with a share on twitter button.
This website is hosted in amazon and I have a domain from GoDaddy which points to amazon.
When opening the original amazon website and sharing to twitter from there, everything works fine. But when I use the GoDaddy domain the share fails with the following error:
jquery.js:15 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' https://* 'nonce-IhoQDzYbwYgE02IGEOs72A==' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-xxbdqtqSj1t8fbsBV/njTbG/r4k1OGgYFak/ndzeHuw='), or a nonce ('nonce-...') is required to enable inline execution.

This is the original url:
This is the GoDaddy domain:

I have no idea what’s the problem.
Hopefully someone can help me…

closed #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.