mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-23 16:05:34 +00:00
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')
|
public function embeddablePlayer($theme = 'light-transparent')
|
||||||
{
|
{
|
||||||
|
header('Content-Security-Policy: frame-ancestors https://* http://*');
|
||||||
|
|
||||||
self::triggerWebpageHit($this->episode->podcast_id);
|
self::triggerWebpageHit($this->episode->podcast_id);
|
||||||
|
|
||||||
$session = \Config\Services::session();
|
$session = \Config\Services::session();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user