mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 07:19:03 +02:00
fix(embeddable-player): enable any ancestor when X-Frame-Options is set on server
This commit is contained in:
parent
4e5b11ba5f
commit
44a4962e0b
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue