Update LandingController, fix config_cache api check

This commit is contained in:
Daniel Supernault 2023-05-07 05:25:38 -06:00
parent a0e299c28d
commit db2da84bec
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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')