Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Add CSP Header to site config (optional)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepone authored Sep 12, 2018
1 parent 17776f5 commit 222a29a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gleez/config/site.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@
* @var array
*/
'headers' => array(
'X-Powered-By' => 'Gleez CMS (http://gleezcms.org)',
'X-Powered-By' => 'Gleez CMS (http://gleezcms.org)',
// 'Content-Security-Policy' => "script-src 'self' '{NONCE}' metrics.gleez.com; frame-ancestors 'self';"
),

/**
Expand Down Expand Up @@ -189,7 +190,6 @@
'copyright' => 'Copyright (c) Gleez Technologies (P) Limited 2011-2018. All rights reserved.',
'robots' => 'index, follow, noodp',
'viewport' => 'width=device-width, initial-scale=1.0',
//'Content-Security-Policy' => "script-src 'self'; frame-ancestors 'self'",
),
),

Expand Down

0 comments on commit 222a29a

Please sign in to comment.