404 on own panel

Hi guys,

I'm developing a custom panel for my web application, and I'm encountering a 404 error when trying to access it. I've already dumped Filament::getCurrentPanel() in the booted method of my service provider, and it appears to have the correct data. What could be causing the 404 error?

return $panel
            ->id('cp')
            ->path('cp')
            ->default()
            ->middleware([
                'web',
                'core',
            ])
            ->authMiddleware([
                'auth',
            ]);
image.png
Was this page helpful?