fix(embeddable-player): enable any ancestor when X-Frame-Options is set on server
This commit is contained in:
parent
4e5b11ba5f
commit
44a4962e0b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue