Skip to content

Commit

Permalink
fix: Fix content-type of feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
marienfressinaud committed Mar 19, 2024
1 parent 6a3d790 commit a6a19fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private function initApp(Request $request): void
$router = Router::load();
}

\Minz\Output\View::$extensions_to_content_types['.atom.xml.php'] = 'application/atom+xml;charset=UTF-8';
\Minz\Output\View::$extensions_to_content_types['.atom.xml.phtml'] = 'application/xml';

\Minz\Engine::init($router, [
'start_session' => true,
Expand Down

0 comments on commit a6a19fc

Please sign in to comment.