Commit a20aac93 authored by ROBERT PATRICK CAREY III's avatar ROBERT PATRICK CAREY III 🗿

Update docs

parent 13ba8b05
......@@ -16,6 +16,7 @@ class RemoveXFrameOptionsSubscriber implements EventSubscriberInterface {
*/
public function RemoveXFrameOptions(FilterResponseEvent $event) {
$response = $event->getResponse();
$response->headers->remove('X-Frame-Options');
$response->headers->set('X-Frame-Options', 'ALLOW-FROM https://psu.instructure.com/');
$response->headers->set('Content-Security-Policy', 'frame-ancestors https://psu.instructure.com/');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment