Skip to content

Commit

Permalink
Merge pull request #13 from mohamadreza1388/main
Browse files Browse the repository at this point in the history
add redirect
  • Loading branch information
BaseMax authored Sep 18, 2024
2 parents 75659d0 + dcd603f commit 59002c8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
use App\Http\Controllers\User\CodeController;
use Illuminate\Support\Facades\Route;

Route::get('/', function () {
return view('welcome');
});
Route::redirect('/', "/editor");

//Login Middleware
Route::middleware('auth')->group(function () {
Expand Down

0 comments on commit 59002c8

Please sign in to comment.