mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
Ignore oauth redirects for spa (#2224)
This commit is contained in:
@@ -29,6 +29,9 @@ abstract class PanelProvider extends BasePanelProvider
|
||||
{
|
||||
return $panel
|
||||
->spa(fn () => !request()->routeIs('filament.server.pages.console'))
|
||||
->spaUrlExceptions([
|
||||
'*/oauth/redirect/*',
|
||||
])
|
||||
->databaseNotifications()
|
||||
->brandName(config('app.name', 'Pelican'))
|
||||
->brandLogo(config('app.logo'))
|
||||
|
||||
Reference in New Issue
Block a user