Skip to content

Commit

Permalink
fiix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraYolo committed Sep 2, 2020
1 parent 70e0592 commit 7a86d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Controller/Http/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class UserController extends AbstractController
public function home()
{
if (!$user = checkAuth()) {
return $this->response->redirect('https://im.jayjay.cn/index/login');
return $this->response->redirect(env('APP_URL').'/index/login');
}
$menus = config('menu');
return $this->view->render('user/home', [
Expand Down

0 comments on commit 7a86d46

Please sign in to comment.