path fix
This commit is contained in:
@@ -107,8 +107,12 @@ abstract class BaseController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function wrenchApiServer():string{
|
public function wrenchApiServer():string{
|
||||||
|
if ( $_SERVER['CI_ENVIRONMENT'] === 'production'){
|
||||||
return "https://apigate.orion.g1.wrenchboard.com"."/en/promo/api/v1/";
|
return "https://apigate.orion.g1.wrenchboard.com"."/en/promo/api/v1/";
|
||||||
// return API_ENDPOINT."/en/promo/api/v1/";
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return API_ENDPOINT."/en/promo/api/v1/";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user