From 5064be9d80a0ea0f72879ed51a846d04122e323b Mon Sep 17 00:00:00 2001 From: Svitin Egor Date: Thu, 2 May 2024 09:58:24 +0300 Subject: [PATCH] update robot --- environments/dev/robots.txt | 3 ++- environments/docker_container/wp-config-local.php | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/environments/dev/robots.txt b/environments/dev/robots.txt index 77470cb..2a83a98 100644 --- a/environments/dev/robots.txt +++ b/environments/dev/robots.txt @@ -1,2 +1,3 @@ User-agent: * -Disallow: / \ No newline at end of file +Disallow: / +Disallow: /test \ No newline at end of file diff --git a/environments/docker_container/wp-config-local.php b/environments/docker_container/wp-config-local.php index 9dc7465..d6ed41e 100644 --- a/environments/docker_container/wp-config-local.php +++ b/environments/docker_container/wp-config-local.php @@ -12,8 +12,6 @@ define('LAWCARTA_PORT', ''); define('LAWCARTA_ENVIRONMENT_NAME', getenv('ENVIRONMENT_NAME')); -#$_SERVER['HTTPS'] = 'On'; - define('LAWCARTA_WP_REST_API_REQUEST_URL', getenv('WP_REST_API_REQUEST_URL')); define('LAWCARTA_WP_REST_API_RESPONSE_URL', getenv('WP_REST_API_RESPONSE_URL')); @@ -23,10 +21,10 @@ define('LC_GTM', 'GTM-K8LWZ6K'); define('LAWCARTA_GA_CONFIG', 'UA-111488943-1'); define('LIVECARTA_GA_CONFIG', 'UA-111488943-2'); -#$_SERVER['HTTPS'] = 'On'; +$_SERVER['HTTPS'] = 'On'; //S3 uploads settings -define( 'S3_UPLOADS_BUCKET', getenv('S3_UPLOADS_BUCKET') ); +define( 'S3_UPLOADS_BUCKET', getenv('S3_UPLOADS_BUCKET_WP') ); define( 'S3_UPLOADS_REGION', 'us-west-1' ); define( 'S3_UPLOADS_KEY', getenv('S3_UPLOADS_KEY') );