mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 15:01:27 +00:00
Merge pull request #4291 from pixelfed/staging
Update LandingController
This commit is contained in:
commit
2451593bb9
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