F
Filament2mo ago
Gaurav

login page not found in production

Hello, I've deployed a very simple filament app to production, based on laravel 11. Since the new version of laravel doesn't come with auth, so I simply used filament login instead. Now, while the app seems to work alright in local development environment, when deployed to production, I'm getting 404 on /login route. How do I ensure that filament auth is available on /login page?
Solution:
Thanks! Actually what fixed it was php artisan queue:restart
Jump to solution
3 Replies
Gaurav
Gaurav2mo ago
Figured it out. It was nginx configuration issue. However facing a new issue now. The POST method is not supported for route login. Supported methods: GET, HEAD.
Tetracyclic
Tetracyclic2mo ago
Hi Gaurav, the Filament login sends a POST request to /livewire/update, not the login route.
Solution
Gaurav
Gaurav2mo ago
Thanks! Actually what fixed it was php artisan queue:restart
Want results from more Discord servers?
Add your server
More Posts