use one constants file

This commit is contained in:
peaklabs-dev
2024-11-12 15:18:48 +01:00
parent 442b0e837c
commit 1c5ddab30d
29 changed files with 30 additions and 30 deletions

View File

@@ -27,7 +27,7 @@ class Index extends Component
public function mount()
{
if (config('coolify.waitlist') == false) {
if (config('constants.waitlist.enabled') == false) {
return redirect()->route('register');
}
$this->waitingInLine = Waitlist::whereVerified(true)->count();