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

fix: handle HEAD requests on podcast_feed route

Fixes #79
parent b619e6d8
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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']);