Update api config to refer to env first and if not present use the defaults

This commit is contained in:
Afiq Hamzah
2025-05-15 10:34:59 +08:00
parent a8dc39a5a7
commit 1fbe5fa57c
+2 -2
View File
@@ -1,5 +1,5 @@
<?php
return [
'url' => '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'),
];