From 9232513831501e8a0cb4f14299cd8f85afe7bc7f Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 13 Jun 2019 15:18:47 +0200 Subject: Fix caching issue for '/' route --- config/routes.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'config') diff --git a/config/routes.php b/config/routes.php index 6cc0ce8b..e999d026 100644 --- a/config/routes.php +++ b/config/routes.php @@ -1,14 +1,11 @@ get('/', function () { - throw new HttpTemporaryRedirect(auth()->user() ? config('home_site') : 'login'); -}); +$route->get('/', 'HomeController@index'); $route->get('/credits', 'CreditsController@index'); // Authentication -- cgit v1.2.3-54-g00ecf