From 48262030994e6219997bd374bb5907fb968e85f2 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 28 Aug 2019 17:01:44 +0200 Subject: [PATCH] #2949 --- .env.production | 2 ++ .env.staging | 2 ++ config/cubist.php | 2 ++ public/info.php | 2 -- public/robots.txt | 2 -- 5 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 public/info.php delete mode 100644 public/robots.txt diff --git a/.env.production b/.env.production index b78b5be..2480041 100644 --- a/.env.production +++ b/.env.production @@ -40,6 +40,8 @@ PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" +SEO_ROBOTS=true + GOOGLE_ANALYTICS_ID=UA-4339912-10 BACKPACK_LICENSE=YwdOWjeEczPAwy06GzkBJggW diff --git a/.env.staging b/.env.staging index cc7b4c0..1c94da6 100644 --- a/.env.staging +++ b/.env.staging @@ -39,6 +39,8 @@ PUSHER_APP_CLUSTER=mt1 MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" +SEO_ROBOTS=false + GOOGLE_ANALYTICS_ID=UA-4339912-10 BACKPACK_LICENSE=YwdOWjeEczPAwy06GzkBJggW diff --git a/config/cubist.php b/config/cubist.php index 7ed9d1b..89c9dd9 100644 --- a/config/cubist.php +++ b/config/cubist.php @@ -4,4 +4,6 @@ return [ 'internal_search_index' => env('CUBIST_INTERNAL_SEARCH_INDEX', strtolower(env('APP_NAME', 'App_name') . '_' . env('APP_ENV', 'dev'))), 'page_model' => '\App\Models\Page', 'settings_model' => '\App\Models\Settings', + 'seo_robots' => env('SEO_ROBOTS', true), ]; + diff --git a/public/info.php b/public/info.php deleted file mode 100644 index 61ace19..0000000 --- a/public/info.php +++ /dev/null @@ -1,2 +0,0 @@ -