From cdd46de27409e7e830cccb5da7993dd4e6054e11 Mon Sep 17 00:00:00 2001 From: Scai <59282365+alexevladgabriel@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:38:44 +0200 Subject: [PATCH] chore: clean base routes --- routes/base.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/routes/base.php b/routes/base.php index 6a57e6511..8497fd1c4 100644 --- a/routes/base.php +++ b/routes/base.php @@ -2,20 +2,7 @@ use App\Livewire\Installer\PanelInstaller; use Illuminate\Support\Facades\Route; -use App\Http\Controllers\Base; use App\Http\Middleware\RequireTwoFactorAuthentication; -Route::get('/', [Base\IndexController::class, 'index'])->name('index')->fallback(); -Route::get('/account', [Base\IndexController::class, 'index']) - ->withoutMiddleware(RequireTwoFactorAuthentication::class) - ->name('account'); - -Route::get('/locales/locale.json', Base\LocaleController::class) - ->withoutMiddleware(['auth', RequireTwoFactorAuthentication::class]) - ->where('namespace', '.*'); - Route::get('installer', PanelInstaller::class)->name('installer') ->withoutMiddleware(['auth', RequireTwoFactorAuthentication::class]); - -Route::get('/{react}', [Base\IndexController::class, 'index']) - ->where('react', '^(?!(\/)?(api|auth|admin|daemon)).+');