diff --git a/www-api/app/Controllers/WrenchApi.php b/www-api/app/Controllers/WrenchApi.php index 1774e471..89b15d87 100644 --- a/www-api/app/Controllers/WrenchApi.php +++ b/www-api/app/Controllers/WrenchApi.php @@ -562,7 +562,7 @@ 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["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";