From c924a6ba24f6adc1d50b1a07c16432c50a1f1ed3 Mon Sep 17 00:00:00 2001 From: bilogic <946010+bilogic@users.noreply.github.com> Date: Wed, 30 Jul 2025 08:37:28 +0800 Subject: [PATCH] Prevent exception with Laravel defaults Fixes #123 --- config/geoip.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/geoip.php b/config/geoip.php index 8ebb9d7..f364b0e 100644 --- a/config/geoip.php +++ b/config/geoip.php @@ -114,7 +114,7 @@ | */ - 'cache_tags' => ['torann-geoip-location'], + 'cache_tags' => (env('CACHE_DRIVER') === "file" || env('CACHE_DRIVER') === 'database') ? null : ['torann-geoip-location'], /* |--------------------------------------------------------------------------