mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-06 02:59:29 +00:00
Enable CSP also in debug mode, as otherwise it complains about missing nonce function
This commit is contained in:
parent
90f83273da
commit
2b28aa8ba9
1 changed files with 0 additions and 6 deletions
|
|
@ -69,9 +69,3 @@ nelmio_security:
|
|||
- 'data:'
|
||||
block-all-mixed-content: true # defaults to false, blocks HTTP content over HTTPS transport
|
||||
# upgrade-insecure-requests: true # defaults to false, upgrades HTTP requests to HTTPS transport
|
||||
|
||||
when@dev:
|
||||
# disables the Content-Security-Policy header
|
||||
nelmio_security:
|
||||
csp:
|
||||
enabled: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue