diff options
author | Frankie B <git@diskfloppy.me> | 2024-06-19 15:15:35 +0100 |
---|---|---|
committer | Frankie B <git@diskfloppy.me> | 2024-06-19 15:15:35 +0100 |
commit | 8f02ed0a76ce021d9877f28793aa0ebff2b88e8c (patch) | |
tree | 622fd42be95b42817b38ee9e11eb6c0509c1c955 /routes/web.php | |
parent | 02c68f854589e63ba4ee1d5a8732ba9be25ceb6a (diff) |
Remove posthog pageview middleware
Diffstat (limited to 'routes/web.php')
-rw-r--r-- | routes/web.php | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/routes/web.php b/routes/web.php index fb12e96..faef969 100644 --- a/routes/web.php +++ b/routes/web.php @@ -3,13 +3,13 @@ use App\Http\Controllers\AdminBookmarksController; use App\Http\Controllers\AdminGuestbookController; use App\Http\Controllers\AdminImportController; +use App\Http\Controllers\BlogController; use App\Http\Controllers\BookmarksController; use App\Http\Controllers\CalculatorsController; use App\Http\Controllers\ComputersController; use App\Http\Controllers\GuestbookController; use App\Http\Controllers\HomeController; use App\Http\Controllers\MusicController; -use App\Http\Middleware\PageView; use Illuminate\Support\Facades\Route; /* @@ -24,15 +24,13 @@ use Illuminate\Support\Facades\Route; */ // Run the PageView middleware for *all* public GET routes -Route::middleware(PageView::class)->group(function () { - Route::get('/', [HomeController::class, 'show']); - Route::get('/bookmarks', [BookmarksController::class, 'show']); - Route::get('/guestbook', [GuestbookController::class, 'show']); - Route::get('/calculators', [CalculatorsController::class, 'show']); - Route::get('/computers', [ComputersController::class, 'show']); - Route::get('/music', [MusicController::class, 'show']); -}); - +Route::get('/', [HomeController::class, 'show']); +Route::get('/bookmarks', [BookmarksController::class, 'show']); +Route::get('/blog', [BlogController::class, 'showPostList']); +Route::get('/guestbook', [GuestbookController::class, 'show']); +Route::get('/calculators', [CalculatorsController::class, 'show']); +Route::get('/computers', [ComputersController::class, 'show']); +Route::get('/music', [MusicController::class, 'show']); Route::post('/guestbook', [GuestbookController::class, 'addEntry']) ->middleware('rate_limit'); |