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,