From bffbdf53b89d73ba1e81594b24dcf733830367fd Mon Sep 17 00:00:00 2001 From: Mike Date: Tue, 4 Aug 2020 16:46:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9index=E8=90=BD=E5=9C=B0?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 4d5f3f8..0475613 100644 --- a/routes/web.php +++ b/routes/web.php @@ -13,4 +13,6 @@ use Illuminate\Support\Facades\Route; | */ -Route::get('/', 'TestController@Test'); +Route::get('/', function(){ + return redirect("/admin"); +});