Content security policy including a script

后端 未结 2 1198
名媛妹妹
名媛妹妹 2021-01-03 18:08

I need to include this script https://apis.google.com/js/api:client.js in my website. On Google Chrome it works fine, but on Firefox (and IE obviously), I g

2条回答
  •  一生所求
    2021-01-03 18:18

    You have to edit the CSP headers not on the HTML, but on the server HTTP headers, do you have control of the server?

    Meta tags and such will be ignored because the HTTP Headers take precedence, fix those first.

提交回复
热议问题