From 8113dc9030e9987b11f1fff71f3b4a66c3f6ffb8 Mon Sep 17 00:00:00 2001 From: Amir Date: Sat, 26 Nov 2022 21:28:50 +0800 Subject: [PATCH] Add redirect login in web.php --- routes/web.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/routes/web.php b/routes/web.php index 9694aeac..f47d8ed9 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,9 +14,7 @@ use Illuminate\Support\Facades\Http; | */ -Route::get('/', function () { - return view('welcome'); -})->name('login'); +Route::get('/','Auth\LoginController@redirectLogin')->name('redirectLogin'); Route::get('/test', function () { $response = Http::get('http://localhost:8000/api/lelongDetails/today')->json();