This commit is contained in:
root 2019-12-25 15:25:55 +08:00
parent 6c8892a46c
commit b39ba5686a

View File

@ -48,7 +48,7 @@ class LoginController extends Controller
}
$location = url('/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard');
if (config('v2board.app_url')) {
$location = config('v2board.app_url') . $request->input('redirect') ? $request->input('redirect') : 'dashboard';
$location = config('v2board.app_url') . '/#/' . $request->input('redirect') ? $request->input('redirect') : 'dashboard';
}
header('Location:' . $location);
}