Commit 74b2640f authored by Benjamin Bellamy's avatar Benjamin Bellamy 💬
Browse files

fix: handle HEAD requests on podcast_feed route

Fixes #79
parent b619e6d8
Pipeline #434 passed with stage
in 4 minutes and 45 seconds
......@@ -433,6 +433,7 @@ $routes->group('@(:podcastName)', function ($routes) {
$routes->get('(:slug)', 'Episode/$1/$2', [
'as' => 'episode',
]);
$routes->head('feed.xml', 'Feed/$1', ['as' => 'podcast_feed']);
$routes->get('feed.xml', 'Feed/$1', ['as' => 'podcast_feed']);
});
$routes->get('/(:slug)', 'Page/$1', ['as' => 'page']);
......
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