mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +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')
|
||||
{
|
||||
header('Content-Security-Policy: frame-ancestors https://* http://*');
|
||||
|
||||
self::triggerWebpageHit($this->episode->podcast_id);
|
||||
|
||||
$session = \Config\Services::session();
|
||||
|
Loading…
x
Reference in New Issue
Block a user