equinor / energyvision

Home of the equinor.com website
https://www.equinor.com
MIT License
34 stars 8 forks source link

Fix console logs related to security headers in production #1224

Closed padms closed 2 years ago

padms commented 2 years ago

image.png

fernandolucchesi commented 2 years ago

https://developers.google.com/tag-platform/tag-manager/web/csp

fernandolucchesi commented 2 years ago

1109

fernandolucchesi commented 2 years ago

Can't find out a good solution without using nonce, nonce with nextjs is not so smooth yet, therefore moving it back to the backlog unfortunately. Setup used as example inside nextjs repo also did not work.

SvSven commented 2 years ago

Maybe Next13 made it easier?

fernandolucchesi commented 2 years ago

The culprit was a legacy tag "Google Ads - equinor.com.br" set up through our google tag manager console. I just paused it on production and the error is gone. =)

fernandolucchesi commented 2 years ago
SvSven commented 2 years ago

Looks to be working now from what I can see 👍