Last active
September 29, 2022 00:39
-
-
Save cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6 to your computer and use it in GitHub Desktop.
Revisions
-
cmbuckley revised this gist
May 9, 2022 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,5 +12,5 @@ echo json_encode([ 'headers' => $headers, 'src' => 'https://gist.github.com/cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6', ]); -
cmbuckley created this gist
May 9, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ <?php $headers = [ "Content-Security-Policy: style-src 'self'", "Content-Type: application/json", ]; foreach ($headers as $header) { header($header); } echo json_encode([ 'headers' => $headers, 'src' => '', ]);