mirror of
https://code.castopod.org/adaures/castopod
synced 2025-06-06 18:31:05 +00:00
fix(op3): remove scheme when wraping audio URI
This commit is contained in:
parent
964cbba54f
commit
0ad22e49bc
@ -27,6 +27,9 @@ class OP3
|
|||||||
|
|
||||||
public function wrap(URI $audioURI, Episode $episode): string
|
public function wrap(URI $audioURI, Episode $episode): string
|
||||||
{
|
{
|
||||||
|
// remove scheme from audioURI
|
||||||
|
$audioURI->setScheme('');
|
||||||
|
|
||||||
return $this->host . '/e,pg=' . $episode->podcast->guid . '/' . $audioURI;
|
return $this->host . '/e,pg=' . $episode->podcast->guid . '/' . $audioURI;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user