恢复 首页

This commit is contained in:
iVampireSP.com 2023-05-14 20:22:54 +08:00
parent b8ba70802e
commit 2c8baf27fd
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 4 additions and 8 deletions

View File

@ -12,7 +12,6 @@ public function index(Request $request)
return view('spa');
}
return redirect()->route('login');
// return view('index');
return view('index');
}
}

View File

@ -4,17 +4,14 @@
<title>{{ config('app.display_name') }}</title>
<meta name="csrf-token" content="{{ csrf_token() }}">
<meta chrset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
Index
<span>欢迎使用: {{ config('app.display_name') }}</span>
@auth
<a href="{{ route('logout') }}">Logout</a>
@else
<a href="{{ route('login') }}">Login</a>
@endauth
<a href="{{ route('login') }}">登录</a>
</body>
</html>