Setting CSP (Frame Ancestors) in Single Page App

Viewed 158

How do I set a Frame Ancestors CSP in a single page app using Webpack bundler? I know frame ancestors can't be set using a <meta> tag in my HTML.

I've tried attaching the Content-Security-Policy: frame-ancestors 'self' in the webpack-dev-server headers option but it doesn't seem to work.

Thanks!

0 Answers
Related