Always use EMS production url, even in dev (#21237) (#21291)

This makes usage of EMS more predictable in Kibana, showing vetted production-ready data consistently
This commit is contained in:
Thomas Neirynck 2018-07-26 16:44:05 -04:00 committed by GitHub
parent 137a09051c
commit b8c593dccf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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({