From 21efcf9c630bdef33634d5fa83e4079b3eb914fe Mon Sep 17 00:00:00 2001 From: Ash Monsh Date: Tue, 2 Jul 2024 16:23:18 +0300 Subject: [PATCH] Update web.php --- stubs/routes/web.php | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/stubs/routes/web.php b/stubs/routes/web.php index 8ca47bd..3080162 100644 --- a/stubs/routes/web.php +++ b/stubs/routes/web.php @@ -1,31 +1,7 @@ isLocal()) { - //include 'local.php'; -} - -Route::domain('{domain}.' . config('zeus-tartarus.central_domain')) - ->get('/a', function () { - dd(9); - }) - ->name('tenant.home'); - -Route::view('/', 'site.home'); - -Route::post('logout', function (Request $request) { - auth()->logout(); - - $request->session()->invalidate(); - - $request->session()->regenerateToken(); - - return redirect('/'); -}) - ->name('logout'); - Route::get('lang/{lang}', function ($lang) { if (array_key_exists($lang, config('app.locales'))) { session()->put('current_lang', $lang);