mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-16 04:57:46 +02:00
feat: add analytics and unknown useragents
This commit is contained in:
parent
4651d01a84
commit
ec92e65aa4
44 changed files with 3333 additions and 1987 deletions
|
|
@ -46,6 +46,13 @@ $routes->group('(:podcastSlug)', function ($routes) {
|
|||
]);
|
||||
});
|
||||
|
||||
// Route for podcast audio file analytics (/stats/podcast_id/episode_id/podcast_folder/filename.mp3)
|
||||
$routes->add('/stats/(:num)/(:num)/(:any)', 'Analytics::hit/$1/$2/$3');
|
||||
|
||||
// Show the Unknown UserAgents
|
||||
$routes->add('/.well-known/unknown-useragents', 'UnknownUserAgents');
|
||||
$routes->add('/.well-known/unknown-useragents/(:num)', 'UnknownUserAgents/$1');
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------
|
||||
* Additional Routing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue