Revert "LAW-6132"

This reverts commit bcc7c1461a.
This commit is contained in:
atsaruk
2022-11-08 10:19:49 +03:00
parent bcc7c1461a
commit 28e8c2d325
21 changed files with 170 additions and 44 deletions

View File

@@ -1,4 +1,14 @@
######FOR TEST PROD ENV
update wp_options set option_value = "https://livecarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "https://livecarta.com" where option_id = 2 limit 1;
update wp_options set option_value = "https://lawcarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "https://lawcarta.com" where option_id = 2 limit 1;
update wp_2_options set option_value = "https://livecarta.com" where option_id = 1 limit 1;
update wp_2_options set option_value = "https://lawcarta.com/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 1 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "livecarta.com" where blog_id = 2 limit 1;
update wp_site set domain = "lawcarta.com" where id =1 limit 1;

View File

@@ -1,4 +1,14 @@
######FOR TEST PROD ENV
update wp_options set option_value = "http://livecarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "http://livecarta.com" where option_id = 2 limit 1;
update wp_options set option_value = "http://lawcarta.com" where option_id = 1 limit 1;
update wp_options set option_value = "http://lawcarta.com" where option_id = 2 limit 1;
update wp_2_options set option_value = "http://livecarta.com" where option_id = 1 limit 1;
update wp_2_options set option_value = "http://lawcarta.com/livecarta" where option_id = 2 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 1 limit 1;
update wp_blogs set domain = "lawcarta.com" where blog_id = 2 limit 1;
update wp_domain_mapping set domain = "livecarta.com" where blog_id = 2 limit 1;
update wp_site set domain = "lawcarta.com" where id =1 limit 1;

View File

@@ -10,13 +10,13 @@ define( 'DB_HOST', '@lcWpMySqlHostProd@' );
#define( 'DB_PASSWORD', '@lcWpMySqlPasswordProd@' );
#define( 'DB_HOST', '@lcWpMySqlHostProd@' );
define('DOMAIN_CURRENT_SITE', 'livecarta.com');
define('DOMAIN_CURRENT_SITE', 'lawcarta.com');
define('LAWCARTA_SUBDOMAIN', 'app');
define('LAWCARTA_PORT', '');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app.livecarta.com/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app.livecarta.com/v1/event/response');
define('LAWCARTA_WP_REST_API_REQUEST_URL', 'https://app.lawcarta.com/v1/event/request');
define('LAWCARTA_WP_REST_API_RESPONSE_URL', 'https://app.lawcarta.com/v1/event/response');
define('LAWCARTA_ENVIRONMENT_NAME', 'prod');