fix:logic for selfhosted landing page

This commit is contained in:
hackerESQ
2024-11-06 23:01:56 -06:00
parent f2e1211661
commit 9b6afe180d
+1 -1
View File
@@ -12,7 +12,7 @@ use Laravel\Jetstream\Http\Controllers\Livewire\PrivacyPolicyController;
use Laravel\Jetstream\Http\Controllers\Livewire\TermsOfServiceController;
Route::get('/', function () {
if (config('investbrain.self_hosted', false) && View::exists('landing-page::index')) {
if (!config('investbrain.self_hosted', true) && View::exists('landing-page::index')) {
return view('landing-page::index');
}