fix:logic for selfhosted landing page
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ use Laravel\Jetstream\Http\Controllers\Livewire\PrivacyPolicyController;
|
|||||||
use Laravel\Jetstream\Http\Controllers\Livewire\TermsOfServiceController;
|
use Laravel\Jetstream\Http\Controllers\Livewire\TermsOfServiceController;
|
||||||
|
|
||||||
Route::get('/', function () {
|
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');
|
return view('landing-page::index');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user