Laravel Filament "/admin" 404 not found error (Live server)

I uploaded my Laravel (v10.10) with Filament(v3) project to a server. To run the filament admin panel. The site is working, but when I go to /admin, I get 404 not found error. My project is functioning correctly on my local environment, but when I deployed it on the server.
2 Replies
SLy
SLy13mo ago
Does using /public/admin work?
tuyz
tuyz13mo ago
in local environments, any user can access the filament panel, did you add a function onto your user model for who can access the admin panel? in the filament docs the example is as follows public function canAccessPanel(Panel $panel): bool { return str_ends_with($this->email, '@yourdomain.com') && $this->hasVerifiedEmail(); } you might need to tweak your admin user on your deployed application
Want results from more Discord servers?
Add your server