add parameter to control prefix
This commit is contained in:
parent
8d7cdd1fe2
commit
3553562f62
|
@ -15,9 +15,9 @@ class BillingSrv
|
||||||
|
|
||||||
$ngrok_prefix = $this->container->getParameter('dev_ngrok_prefix');
|
$ngrok_prefix = $this->container->getParameter('dev_ngrok_prefix');
|
||||||
|
|
||||||
$this->url_prefix = ($env == "dev" && !empty($ngrok_prefix))
|
$base_url = $this->container->getParameter('prod_prefix');
|
||||||
? $ngrok_prefix
|
|
||||||
: $container->get('router')->getContext()->getBaseUrl();
|
$this->url_prefix = ($env == "dev" && !empty($ngrok_prefix)) ? $ngrok_prefix : $base_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function setApiKey()
|
private function setApiKey()
|
||||||
|
|
Loading…
Reference in New Issue