fix(op3): remove scheme when wraping audio URI

This commit is contained in:
Yassine Doghri 2022-12-13 11:56:49 +00:00
parent 964cbba54f
commit 0ad22e49bc
1 changed files with 3 additions and 0 deletions

View File

@ -27,6 +27,9 @@ class OP3
public function wrap(URI $audioURI, Episode $episode): string
{
// remove scheme from audioURI
$audioURI->setScheme('');
return $this->host . '/e,pg=' . $episode->podcast->guid . '/' . $audioURI;
}
}