first commit
This commit is contained in:
18
app/Http/Controllers/FrontHomeController.php
Normal file
18
app/Http/Controllers/FrontHomeController.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App;
|
||||
use Inertia\Inertia;
|
||||
|
||||
class FrontHomeController extends Controller
|
||||
{
|
||||
public function index()
|
||||
{
|
||||
if (App::environment('local')) {
|
||||
return Inertia::render('welcome');
|
||||
}
|
||||
|
||||
return Inertia::render('comingsoon');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user