From 73e9d0b3481e1e19af909b41884e47dac1c20d67 Mon Sep 17 00:00:00 2001 From: Thomas Neirynck Date: Thu, 26 Jul 2018 14:03:16 -0400 Subject: [PATCH] Always use EMS production url, even in dev (#21237) This makes usage of EMS more predictable in Kibana, showing vetted production-ready data consistently --- src/server/config/schema.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/server/config/schema.js b/src/server/config/schema.js index 02f787470ff00..83d01fdcef351 100644 --- a/src/server/config/schema.js +++ b/src/server/config/schema.js @@ -194,11 +194,7 @@ export default async () => Joi.object({ allowAnonymous: Joi.boolean().default(false) }).default(), map: Joi.object({ - manifestServiceUrl: Joi.when('$dev', { - is: true, - then: Joi.string().default('https://staging-dot-catalogue-dot-elastic-layer.appspot.com/v2/manifest'), - otherwise: Joi.string().default('https://catalogue.maps.elastic.co/v2/manifest') - }), + manifestServiceUrl: Joi.string().default(' https://catalogue.maps.elastic.co/v2/manifest'), includeElasticMapsService: Joi.boolean().default(true) }).default(), tilemap: Joi.object({