From 3e97458ee28c79c16f7c792d96c01c44ea2356ed Mon Sep 17 00:00:00 2001 From: floppydiskette Date: Fri, 27 Dec 2024 18:47:40 +0000 Subject: rudimentary "spam filter" --- routes/web.php | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/web.php b/routes/web.php index 8af223c..09837dd 100644 --- a/routes/web.php +++ b/routes/web.php @@ -25,4 +25,5 @@ Route::get('/guestbook', [GuestbookController::class, 'show']); Route::get('/music', [MusicController::class, 'show']); Route::get('/rosco', [RoscoController::class, 'show']); Route::post('/guestbook', [GuestbookController::class, 'addEntry']) + ->middleware('validator') ->middleware('rate_limit'); -- cgit v1.2.3-54-g00ecf