mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 18:56:42 +02:00
feat: add remote_url alternative for transcript and chapters files
This commit is contained in:
parent
1296187613
commit
3143c9ad36
41 changed files with 752 additions and 394 deletions
|
|
@ -50,7 +50,7 @@ class EpisodeAnalyticsController extends Controller
|
|||
}
|
||||
|
||||
// Add one hit to this episode:
|
||||
public function hit($base64EpisodeData, ...$enclosureUri)
|
||||
public function hit($base64EpisodeData, ...$audioFilePath)
|
||||
{
|
||||
$session = \Config\Services::session();
|
||||
$session->start();
|
||||
|
|
@ -78,6 +78,6 @@ class EpisodeAnalyticsController extends Controller
|
|||
$serviceName,
|
||||
);
|
||||
|
||||
return redirect()->to($this->config->getEnclosureUrl($enclosureUri));
|
||||
return redirect()->to($this->config->getAudioFileUrl($audioFilePath));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue