Update
This commit is contained in:
@@ -4,8 +4,13 @@
|
||||
|
||||
if (! function_exists('user_is_master_admin')) {
|
||||
|
||||
function user_is_master_admin(User $user)
|
||||
function user_is_master_admin(?User $user)
|
||||
{
|
||||
|
||||
if (is_null($user)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$emails = ['autopilotshorts@gmail.com', 'team@autopilotshorts.com', 'charles@exastellar.com'];
|
||||
$user_id = 1;
|
||||
|
||||
|
||||
@@ -9,10 +9,8 @@ class FrontHomeController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
if (App::environment('local')) {
|
||||
return Inertia::render('welcome');
|
||||
}
|
||||
|
||||
return Inertia::render('comingsoon');
|
||||
|
||||
return Inertia::render('home/home');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user