SEO additions index now

This commit is contained in:
Mark Gregory
2026-10-06 15:15:53 +01:00
parent 93f640b6bc
commit b3ca947d7d
6 changed files with 160 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@ use App\Http\Middleware\AdminOnly;
use Illuminate\Support\Facades\Route;
Route::get('/sitemap.xml', [SeoController::class, 'sitemap'])->name('sitemap');
Route::get('/{key}.txt', [SeoController::class, 'indexNowKey'])->where('key', '[A-Fa-f0-9]{8,128}')->name('indexnow.key');
Route::get('/robots.txt', [SeoController::class, 'robots'])->name('robots');
Route::get('/', fn () => view('portal.welcome', ['latestRelease' => \App\Models\SonarDeskRelease::published()->where('channel', 'stable')->latest('published_at')->first()]))->name('home');