恢复 首页
This commit is contained in:
parent
b8ba70802e
commit
2c8baf27fd
@ -12,7 +12,6 @@ public function index(Request $request)
|
|||||||
return view('spa');
|
return view('spa');
|
||||||
}
|
}
|
||||||
|
|
||||||
return redirect()->route('login');
|
return view('index');
|
||||||
// return view('index');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -4,17 +4,14 @@
|
|||||||
<title>{{ config('app.display_name') }}</title>
|
<title>{{ config('app.display_name') }}</title>
|
||||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||||
<meta chrset="utf-8">
|
<meta chrset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
Index
|
<span>欢迎使用: {{ config('app.display_name') }}</span>
|
||||||
|
|
||||||
@auth
|
<a href="{{ route('login') }}">登录</a>
|
||||||
<a href="{{ route('logout') }}">Logout</a>
|
|
||||||
@else
|
|
||||||
<a href="{{ route('login') }}">Login</a>
|
|
||||||
@endauth
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user