Last active
September 29, 2022 00:39
-
-
Save cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6 to your computer and use it in GitHub Desktop.
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 characters
<?php | |
$headers = [ | |
"Content-Security-Policy: style-src 'self'", | |
"Content-Type: application/json", | |
]; | |
foreach ($headers as $header) { | |
header($header); | |
} | |
echo json_encode([ | |
'headers' => $headers, | |
'src' => 'https://gist.github.com/cmbuckley/c05a17f282ebb6642ff15cce8b16c3e6', | |
]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment