diff --git a/app/Http/Controllers/Front/StartController.php b/app/Http/Controllers/Front/StartController.php new file mode 100644 index 0000000..e99b954 --- /dev/null +++ b/app/Http/Controllers/Front/StartController.php @@ -0,0 +1,17 @@ +file('../public/index.html'); + } +} diff --git a/routes/web.php b/routes/web.php index d03de29..1a7f6d7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -3,6 +3,7 @@ use Illuminate\Support\Facades\Route; use App\Http\Controllers\Dash\IndexController; use App\Http\Controllers\Dash\AuthController; +use App\Http\Controllers\Front\StartController; use App\Http\Controllers\Theming\ThemeController; /* @@ -16,9 +17,7 @@ use App\Http\Controllers\Theming\ThemeController; | */ -Route::get('/', function () { - return view('welcome'); -}); +Route::get("/", [StartController::class, 'index']); //DASHBOARD