Commit 44a4962e authored by Benjamin Bellamy's avatar Benjamin Bellamy 💬
Browse files

fix(embeddable-player): enable any ancestor when X-Frame-Options is set on server

parent 4e5b11ba
Pipeline #701 passed with stage
in 5 minutes and 2 seconds
......@@ -88,6 +88,8 @@ class Episode extends BaseController
public function embeddablePlayer($theme = 'light-transparent')
{
header('Content-Security-Policy: frame-ancestors https://* http://*');
self::triggerWebpageHit($this->episode->podcast_id);
$session = \Config\Services::session();
......
Supports Markdown
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