Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: if waitlist is disabled, redirect to register

Andras Bacsaie18766ec2174
diff --git a/app/Http/Livewire/Waitlist/Index.php b/app/Http/Livewire/Waitlist/Index.php
index 06d92b6cb9..c1e6ad9392 100644
--- a/app/Http/Livewire/Waitlist/Index.php
+++ b/app/Http/Livewire/Waitlist/Index.php
@@ -23,6 +23,9 @@ class Index extends Component
}
public function mount()
{
+ if (config('coolify.waitlist') == false) {
+ return redirect()->route('register');
+ }
$this->waitingInLine = Waitlist::whereVerified(true)->count();
$this->users = User::count();
if (isDev()) {
diff --git a/config/sentry.php b/config/sentry.php
index 47aa02db29..0cc5164608 100644
--- a/config/sentry.php
+++ b/config/sentry.php
@@ -7,7 +7,7 @@ return [
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
- 'release' => '4.0.0-beta.57',
+ 'release' => '4.0.0-beta.58',
// When left empty or `null` the Laravel environment will be used
'environment' => config('app.env'),
diff --git a/config/version.php b/config/version.php
index 8ff3d53a53..87313c7d18 100644
--- a/config/version.php
+++ b/config/version.php
@@ -1,3 +1,3 @@
<?php
-return '4.0.0-beta.57';
+return '4.0.0-beta.58';
diff --git a/versions.json b/versions.json
index 7278e5b680..e2ac077099 100644
--- a/versions.json
+++ b/versions.json
@@ -4,7 +4,7 @@
"version": "3.12.36"
},
"v4": {
- "version": "4.0.0-beta.57"
+ "version": "4.0.0-beta.58"
}
}
}