don't show welcome page if self hosted

This commit is contained in:
hackerESQ
2024-09-14 16:12:38 -05:00
parent be231c2e9e
commit 9ea599bd20
+5
View File
@@ -9,6 +9,11 @@ use Laravel\Jetstream\Http\Controllers\Livewire\PrivacyPolicyController;
use Laravel\Jetstream\Http\Controllers\Livewire\TermsOfServiceController;
Route::get('/', function () {
if (config('investbrain.self_hosted', true)) {
return redirect(route('dashboard'));
}
return view('welcome');
});