XML not rendering on static site generation

I have this route to generate a RSS feed:

Route::statamic('/blog/feed', 'blog.feed', [ 'content_type' => 'xml', 'layout' => null ]);

I have added the URL to the ssg config but when visiting the URL in the browser it displays text instead of XML. However, it renders correctly as XML when not using the SSG.

Is there something else I need to do? Or is this not supported with the SSG?

Answered by Duncan McClean!
>>>>>>> Answered <<<<<<<
2 Replies
2 Followers