jhipster / generator-jhipster

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures.
https://www.jhipster.tech
Apache License 2.0
21.52k stars 4.02k forks source link

Content Security Policy (CSP) #27595

Open hoang1998lqd opened 2 days ago

hoang1998lqd commented 2 days ago

I am having trouble configuring Content Security Policy (CSP) at the gateway when not using 'unsafe-eval' 'unsafe-inline' in the configuration.

Using jhipster version 6.10.5, Node version 16.17.0

mraible commented 1 day ago

Can you please explain your issue in more detail? It's really hard to fix a bug if we can't reproduce it.

hoang1998lqd commented 6 hours ago

image

When I configure the content security section as shown in the image, an error appears in Angular as shown below.

image