From 1fbe5fa57c1714ddb6a82a71cb4d871e477d4312 Mon Sep 17 00:00:00 2001 From: Afiq Hamzah Date: Thu, 15 May 2025 10:34:59 +0800 Subject: [PATCH] Update api config to refer to env first and if not present use the defaults --- config/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/api.php b/config/api.php index 7672d1e..4004da8 100644 --- a/config/api.php +++ b/config/api.php @@ -1,5 +1,5 @@ 'https://api2.arrahn.com.my', - 'url_koop' => 'https://api3.arrahn.com.my' + 'url' => env('API_URL', 'https://api2.arrahn.com.my'), + 'url_koop' => env('API_URL_KOOP', 'https://api3.arrahn.com.my'), ];