You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that the unsafe-inline value is automatically being added to my CSP header, specifically in script-src even though I have set NODE_ENV to 'production'.
Has anyone else experienced this? Is there a way to prevent this from happening?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've noticed that the
unsafe-inline
value is automatically being added to my CSP header, specifically inscript-src
even though I have set NODE_ENV to 'production'.Has anyone else experienced this? Is there a way to prevent this from happening?
Here's what my middleware.ts looks like.
Beta Was this translation helpful? Give feedback.
All reactions