added environmant path

This commit is contained in:
CHIEFSOFT\ameye
2024-09-18 06:42:53 -04:00
parent 8ab04e55e1
commit 3c436fa40a
5 changed files with 167 additions and 1 deletions
+4
View File
@@ -102,4 +102,8 @@ abstract class BaseController extends Controller
curl_close($curl);
return json_decode($result, true);
}
public function wrenchApiServer():string{
return getenv("API_ENDPOINT")."/en/promo/api/v1/";
}
}