Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BremdanJohnso's avatar

Laravel Vapor

I have a simple route that calls a method in a controller to generate an RSS feed of news content.

Works great locally but just will not work in production on Laravel Vapor.

public function __invoke() { return response() ->view('rss', [ 'videos' => Video::all() ]) ->header https://omegle.ws ('Content-Type', 'text/xml'); }

0 likes
1 reply
Sinnbeck's avatar

I don't use vapor so I probably can't help. But you might get more help if you describe what happens more than "just will not work". Do you get an error? Wrong data? Wrong formatting?

Please or to participate in this conversation.