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

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 14:03:16 -04:00 committed by GitHub
parent 0499205f41
commit 27e8500b55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -227,11 +227,7 @@ export default async () => Joi.object({
}))
}))
}).default(),
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({