First version (#1913)

* First version

* fix: manifest.json

* Fix: The yaml file is part of the recipe

* Fix: for call-qa / Run checks

---------

Co-authored-by: Michel Bobillier <athso99@bluewin.ch>
This commit is contained in:
Michel Bobillier
2025-12-31 08:27:50 +01:00
committed by GitHub
parent 4d07c0c554
commit 03402388ba
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# config/packages/response_headers.yaml
# https://github.com/republique-et-canton-de-geneve/response-headers-bundle/blob/main/config.md
response_headers:
headers:
# Cache-Control : max-age=0, must-revalidate, no-cache, no-store, private"
# Referrer-Policy: strict-origin
# X-Content-Type-Options: nosniff
# X-XSS-Protection: 1; mode=block

View File

@@ -0,0 +1,10 @@
{
"bundles": {
"EtatGeneve\\ResponseHeadersBundle\\ResponseHeadersBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

View File

@@ -0,0 +1 @@
* Edit the <comment>config/package/response-headers.yaml</comment> file to configure http response header.