mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-13 17:49:25 +00:00
Enabled CSP for testing
This commit is contained in:
parent
2e4bc7adc3
commit
21778bec63
|
@ -47,6 +47,8 @@ class SkinCitizen extends SkinTemplate {
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// HTTP headers
|
||||||
// CSP
|
// CSP
|
||||||
if ( $this->getConfig()->get( 'CitizenEnableCSP' ) ) {
|
if ( $this->getConfig()->get( 'CitizenEnableCSP' ) ) {
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
},
|
},
|
||||||
"EnableCSPReportMode": {
|
"EnableCSPReportMode": {
|
||||||
"value": false,
|
"value": false,
|
||||||
"description": "Enable or disable Content Security Policy report mode, it will override the CSP when enabled",
|
"description": "Enable or disable Content Security Policy report only mode, it will override the CSP when enabled",
|
||||||
"descriptionmsg": "citizen-config-enablecspreportmode",
|
"descriptionmsg": "citizen-config-enablecspreportmode",
|
||||||
"public": true
|
"public": true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue