The POST method is not supported for route admin/login. Supported methods: GET, HEAD.
login request method is POST. how i can change it ? when i see list of routes admin/login method is GET/HEAD. local its working but production i have this error
16 Replies
Were you using v2, and did you upgrade to v3? Also, did you publish the Livewire config?
yep i was using v2 and next i update v3
what do u mean "publish the livewire config"
Laravel
Installation | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
u sure this will fix it ?
becouse problem is that login method is post
i do
php artisan livewire:publish --config
but same error
any ideas?lol i try to find same error in post list but i didnt find okay let me see
hm i do same thing what this posst author saiid but
any ideas ? 💀
@Leandro Ferreira
some config that you need to check in your prod server, but I don't have idea
hm and do u have any idea
where or how i can start debuging it ?
like what i should do 💀 i really have no idea why 💀
Where are you deploying it?
On my server
project is running everything is okay database too
just when i enter login i have this error becouse
its send login request and this request method is post
and becouse of that is ihis erorr
Any solution to this. Currently facing this error
nah i have same erorr and i have no idea how i can fix it 😄
I guess this issue isn’t related to Filament; rather, it’s connected to your server configuration for using Livewire. It might be helpful if you could provide additional information about the type of service you’re using and where you’re deploying it. Maybe someone who has encountered a similar issue can help you.
I am using hostinger vps with Ubuntu 22.04
I hosted on cpanel and it works fine , so maybe my server configuration is not correct
livewire was a problem..
Did you solve the error