Swap over routes

This commit is contained in:
Lance Pioch 2024-05-11 20:50:10 -04:00
parent 373ede8548
commit 2beb12c04f
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ class AdminPanelProvider extends PanelProvider
return $panel
->default()
->id('admin')
->path('new-admin')
->path('admin')
->login()
->brandName('Pelican')
->homeUrl('/')

View File

@ -44,7 +44,7 @@ class RouteServiceProvider extends ServiceProvider
->group(base_path('routes/base.php'));
Route::middleware(['auth.session', RequireTwoFactorAuthentication::class, AdminAuthenticate::class])
->prefix('/admin')
->prefix('/legacy')
->group(base_path('routes/admin.php'));
Route::middleware('guest')->prefix('/auth')->group(base_path('routes/auth.php'));

View File

@ -14,4 +14,4 @@ Route::get('/locales/locale.json', Base\LocaleController::class)
->where('namespace', '.*');
Route::get('/{react}', [Base\IndexController::class, 'index'])
->where('react', '^(?!(\/)?(api|auth|admin|daemon)).+');
->where('react', '^(?!(\/)?(api|auth|admin|daemon|legacy)).+');