From aeb8fdaa3c1d7d89a7180a12d155934baf67ed01 Mon Sep 17 00:00:00 2001 From: Quentin Gabriele Date: Fri, 13 Sep 2024 15:44:41 +0200 Subject: [PATCH] add middleware --- src/Middleware/SeoNoIndexMiddleware.php | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Middleware/SeoNoIndexMiddleware.php diff --git a/src/Middleware/SeoNoIndexMiddleware.php b/src/Middleware/SeoNoIndexMiddleware.php new file mode 100644 index 0000000..61d0dc7 --- /dev/null +++ b/src/Middleware/SeoNoIndexMiddleware.php @@ -0,0 +1,23 @@ +noIndex(); + + return $next($request); + } +}