SEO additions index now
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user