404 on admin login
Hello,
I am getting a 404 when I try to access the admin panel on my production server., I can access it locally with no issue. I checked the route list, it is declared.
I am using Filament 3.
What I tried : the recommendations on the guide post, modifying my composer to make Heroku point to the public folder, activate mod.rewirite in ht.access and adding a procfile.
Any suggestion is welcome.
Thanks a lot
I am getting a 404 when I try to access the admin panel on my production server., I can access it locally with no issue. I checked the route list, it is declared.
I am using Filament 3.
What I tried : the recommendations on the guide post, modifying my composer to make Heroku point to the public folder, activate mod.rewirite in ht.access and adding a procfile.
Any suggestion is welcome.
Thanks a lot
Solution
Update: I had to publish Filament and Livewire assets during Heroku build: in my composer. json
"post-install-cmd": [
"@php artisan filament:assets",
"@php artisan livewire:publish --assets"
]
"post-install-cmd": [
"@php artisan filament:assets",
"@php artisan livewire:publish --assets"
]