title: How to set headers for a React app created using 'create-react-app'
body: <p>I created a sample react app using "<a href="https://github.com/facebook/create-react-app" rel="noreferrer">create-react-app</a>". I need to set the request headers with <code>X-Frame-options</code> and <code>Content-Security-Policy</code>. How do I do this? I just tried to update my <code>index.html</code> with the below code, but I'm not sure whether this it's right or not. Can anyone help with this?</p>
  
  <pre><code>   &lt;meta http-equiv="Content-Security-Policy" content="frame-ancestors 'none'"&gt;
     &lt;meta http-equiv="X-Frame-Options" content="SAMEORIGIN"&gt; 
  </code></pre>