'RSS feed 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('Content-Type', 'text/xml');
}
What's going wrong on Vapor?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
