mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-19 13:01:19 +00:00
fix: add head request to analytics_hit route
validators break because they can't request the episode's audio files with HEAD
This commit is contained in:
parent
b5eb4c68a5
commit
f0a2f0bea4
@ -71,6 +71,9 @@ $routes->group(config('App')->installGateway, function ($routes) {
|
||||
});
|
||||
|
||||
// Route for podcast audio file analytics (/audio/pack(podcast_id,episode_id,bytes_threshold,filesize,duration,date)/podcast_folder/filename.mp3)
|
||||
$routes->head('audio/(:base64)/(:any)', 'Analytics::hit/$1/$2', [
|
||||
'as' => 'analytics_hit',
|
||||
]);
|
||||
$routes->get('audio/(:base64)/(:any)', 'Analytics::hit/$1/$2', [
|
||||
'as' => 'analytics_hit',
|
||||
]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user