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
No description
16 Replies
LeandroFerreira
LeandroFerreira3mo ago
Were you using v2, and did you upgrade to v3? Also, did you publish the Livewire config?
gigiloouu
gigiloouu3mo ago
yep i was using v2 and next i update v3 what do u mean "publish the livewire config"
LeandroFerreira
LeandroFerreira3mo ago
Laravel
Installation | Laravel
A full-stack framework for Laravel that takes the pain out of building dynamic UIs.
gigiloouu
gigiloouu3mo ago
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?
gigiloouu
gigiloouu3mo ago
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
php artisan vendor:publish --force --tag=livewire:assets --ansi

INFO No publishable resources for tag [livewire:assets].
php artisan vendor:publish --force --tag=livewire:assets --ansi

INFO No publishable resources for tag [livewire:assets].
any ideas ? 💀 @Leandro Ferreira
LeandroFerreira
LeandroFerreira3mo ago
some config that you need to check in your prod server, but I don't have idea
gigiloouu
gigiloouu3mo ago
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 💀
LeandroFerreira
LeandroFerreira3mo ago
Where are you deploying it?
gigiloouu
gigiloouu3mo ago
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
pythonista
pythonista3mo ago
Any solution to this. Currently facing this error
gigiloouu
gigiloouu3mo ago
nah i have same erorr and i have no idea how i can fix it 😄
LeandroFerreira
LeandroFerreira3mo ago
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.
pythonista
pythonista3mo ago
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
gigiloouu
gigiloouu3mo ago
livewire was a problem..
pythonista
pythonista3mo ago
Did you solve the error
Want results from more Discord servers?
Add your server
More Posts
Using tab in custom pageHow can I use filter tab in livewire component? I saw this converstaion but got an error. https://giIs it possible to use queryStringIdentifier() for widgets with simple pagination?I'm using the `queryStringIdentifier()` for 2 widget table to resolve the pagination issue, but whenHow To Get data from form in login page into resource page or for query buildercan anyone help for this form ? how can i get the year data from this form to implement in all of myEquivalent of UpdateOrCreateHello, I want the createAction to check if a record already exists and then update it instead of creDetect image in FileUpload to hide upload instructionsI'm having trouble with changing the avatar after I upload it using the FileUpload field. Here's whaLivewire function is being called after Table is renderedI have a action that calls a livewire function to add a filter to a db query. But the function call Avoiding resource duplicationGood evening, I'd like to know if it's possible to reuse a resource in a createOptionForm Like thisCustomize Tenant URLI was wondering if it's possible to customize the tenant URL. By default, it looks like this.: > doWhen using hasCombinedRelationManagerTabsWithContent how can I disable or hide specific tabs?I want to disable or hide a tab based on a condition. For context I want to use a relationship definToggle saving to DB but not initializing with correct valueI have a form with a Toggle input on it. It's updating the database when I save the form, but when t