mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update LandingController, fix config_cache api check
This commit is contained in:
parent
a0e299c28d
commit
db2da84bec
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ class LandingController extends Controller
|
|||
|
||||
public function getDirectoryApi(Request $request)
|
||||
{
|
||||
abort_if(config('instance.landing.show_directory') == false, 404);
|
||||
abort_if(config_cache('instance.landing.show_directory') == false, 404);
|
||||
|
||||
return DirectoryProfile::collection(
|
||||
Profile::whereNull('domain')
|
||||
|
|
Loading…
Reference in a new issue