This commit is contained in:
Jonatan Rek 2024-09-10 15:40:53 +02:00
parent eaccd5224a
commit 8d408c4704

View File

@ -1,9 +1,13 @@
<?php
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\Route;
Route::auth();
Route::get('/', function () {
if (Auth::check()){
return redirect()->route('maintenance.planned');
}
return redirect()->route('login');
});