diff --git a/htdocs/wp-content/themes/lawcarta/functions.php b/htdocs/wp-content/themes/lawcarta/functions.php index f502265..ec20d90 100644 --- a/htdocs/wp-content/themes/lawcarta/functions.php +++ b/htdocs/wp-content/themes/lawcarta/functions.php @@ -222,6 +222,10 @@ function get_lawcarta_url(){ if(LAWCARTA_ENVIRONMENT_NAME == 'prod' && $wp_sub_domain == 'prod-live'){ $host = str_replace('prod-law', 'prod-live',$host); } + //Temporary fix for new prod env because of it use same domain carta.live for both lawcarta/livecarta + if(LAWCARTA_ENVIRONMENT_NAME == 'prod' && $wp_sub_domain == ''){ + $host = str_replace('app-law', 'app',$host); + } } $port = isset($urlParts['port']) ? $urlParts['port'] : '';