Skip to content

Commit 2b28aa8

Browse files
committed
Enable CSP also in debug mode, as otherwise it complains about missing nonce function
1 parent 90f8327 commit 2b28aa8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config/packages/nelmio_security.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,3 @@ nelmio_security:
6969
- 'data:'
7070
block-all-mixed-content: true # defaults to false, blocks HTTP content over HTTPS transport
7171
# upgrade-insecure-requests: true # defaults to false, upgrades HTTP requests to HTTPS transport
72-
73-
when@dev:
74-
# disables the Content-Security-Policy header
75-
nelmio_security:
76-
csp:
77-
enabled: false

0 commit comments

Comments
 (0)