mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update LandingController
This commit is contained in:
parent
4d41d169f3
commit
385c166944
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class LandingController extends Controller
|
|||
return redirect('/');
|
||||
}
|
||||
|
||||
abort_if(config_cache('landing.show_directory') != 1, 404);
|
||||
abort_if(config('instance.landing.show_directory') == false, 404);
|
||||
|
||||
return view('site.index');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue