debug for prod
This commit is contained in:
parent
f7cffe894a
commit
2832a953b9
|
@ -13,7 +13,10 @@ class BillingSrv
|
||||||
{
|
{
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
|
|
||||||
$this->url_prefix = $env == "dev" ? $this->container->getParameter('dev_ngrok_prefix')
|
$ngrok_prefix = $this->container->getParameter('dev_ngrok_prefix');
|
||||||
|
|
||||||
|
$this->url_prefix = $env == ("dev" && !empty($ngrok_prefix))
|
||||||
|
? $ngrok_prefix
|
||||||
: $container->get('router')->getContext()->getBaseUrl();
|
: $container->get('router')->getContext()->getBaseUrl();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue