From e7ab5bfb340f1232ecd6871e1826607935a3efdd Mon Sep 17 00:00:00 2001 From: Refringe Date: Thu, 20 Jun 2024 11:13:25 -0400 Subject: [PATCH] Removes Banhammer Middleware --- bootstrap/app.php | 3 +-- config/database.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index c2e983d..6a51221 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -3,7 +3,6 @@ use Illuminate\Foundation\Application; use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; -use Mchev\Banhammer\Middleware\IPBanned; return Application::configure(basePath: dirname(__DIR__)) ->withRouting( @@ -13,7 +12,7 @@ return Application::configure(basePath: dirname(__DIR__)) health: '/up', ) ->withMiddleware(function (Middleware $middleware) { - $middleware->append(IPBanned::class); + //$middleware->append(IPBanned::class); }) ->withExceptions(function (Exceptions $exceptions) { // diff --git a/config/database.php b/config/database.php index d548da4..ca005a5 100644 --- a/config/database.php +++ b/config/database.php @@ -49,7 +49,7 @@ return [ 'password' => env('DB_PASSWORD', ''), 'unix_socket' => env('DB_SOCKET', ''), 'charset' => env('DB_CHARSET', 'utf8mb4'), - 'collation' => env('DB_COLLATION', 'utf8mb4_unicode_ci'), + 'collation' => env('DB_COLLATION', 'utf8mb4_0900_ai_ci'), 'prefix' => '', 'prefix_indexes' => true, 'strict' => true,