mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-13 11:54:32 +02:00
Disable content security policy in development env, as symfony profiler uses a lot of inline js
This commit is contained in:
parent
4ba58cc621
commit
99b25fb293
1 changed files with 6 additions and 0 deletions
|
@ -58,3 +58,9 @@ 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