Unverified Commit f0a2f0be authored by Yassine Doghri's avatar Yassine Doghri
Browse files

fix: add head request to analytics_hit route

validators break because they can't request the episode's audio files with HEAD
parent b5eb4c68
......@@ -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',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment