From 4c6aac689a920f9fb9917ee276921cd219b46be9 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 5 Nov 2023 19:10:10 -0500 Subject: [PATCH] environmant --- www-api/app/Controllers/WrenchApi.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 2751310c..1774e471 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -562,8 +562,9 @@ class WrenchApi extends BaseController $this->doCacheStep($in, $out); $final_out = ( new \App\Models\ResultFormatter() )->processOutJson($in, $out); - $final_out["environment"] = (int) $this->getSiteConfigurations("system.live"); - $final_out["session_image_server"] = ($final_out["environment"] > 0 )? 'https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/getmedia/' : "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/"; + //$final_out["environment"] = (int) $this->getSiteConfigurations("system.live"); + // $final_out["session_image_server"] = ($final_out["environment"] > 0 )? 'https://apigate.nebula.g1.wrenchboard.com/en/wrench/api/v1/getmedia/' : "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/"; + $final_out["session_image_server"] = "https://apigate.lotus.g1.wrenchboard.com/en/wrench/api/v1/getmedia/"; $final_out["language"] = "en"; $final_out["ip_loc"] = $ip_loc;