maj pa11y: ajout de cookie poour choix de langue
This commit is contained in:
@ -6,7 +6,10 @@
|
||||
"headers": {
|
||||
{{if not (empty .PA11Y_USERNAME)}}
|
||||
{{ $credentials := print .PA11Y_USERNAME ":" .PA11Y_PASSWORD }}
|
||||
"Authorization": "Basic {{b64enc $credentials}}"
|
||||
"Authorization": "Basic {{b64enc $credentials}}" {{if not (empty .PA11Y_COOKIE)}},{{end}}
|
||||
{{end}}
|
||||
{{if not (empty .PA11Y_COOKIE)}}
|
||||
"Cookie": "{{print .PA11Y_COOKIE}}"
|
||||
{{end}}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user