This commit is contained in:
Peter Papp
2021-07-22 17:26:22 +02:00
parent 093c9451ec
commit fffede1c10
12 changed files with 53 additions and 44 deletions

View File

@@ -16,9 +16,9 @@ Route::get('/translations/{lang}', CurrentLocalizationController::class);
// Get og site for web crawlers
if (Crawler::isCrawler()) {
Route::get('/share/{shared}', WebCrawlerOpenGraphController::class);
Route::get('/share/{share}', WebCrawlerOpenGraphController::class);
} else {
Route::get('/share/{shared}', SharePublicIndexController::class);
Route::get('/share/{share}', SharePublicIndexController::class);
}
// Index