Skip to content

Commit

Permalink
fix: create index route to redirect cslant not found page
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Nov 23, 2024
1 parent 6f5784b commit 06f5541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/blog-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
use Illuminate\Support\Facades\Route;

Route::get('/index', function () {
return redirect('https://cslant.com');
return redirect('https://cslant.com/not-found', 301);
})->name('blog-core.index');

0 comments on commit 06f5541

Please sign in to comment.