0

Our team is in the process of making our application safe from clickjacking attacks. It's an Angular application that gets served by yarn. We want to configure our yarn server to include an X-Frame-Options header in every response it sends.

We looked at this guide from Mozilla and it explains how to add this configuration to different servers such as Apache and Nginx but doesn't explain not how to do it for yarn.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

Is there a configuration we can add to yarn to include this header in every response that it serves?

500
  • 1

0 Answers0