middleware(['auth:sanctum']); // Get og site for web crawlers if (Crawler::isCrawler()) { Route::get('/share/{shared}', OGSiteController::class); } else { Route::get('/share/{shared}', SharePublicIndexController::class); } // Show index.blade Route::get('/{any?}', IndexController::class) ->where('any', '.*');