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

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 18:43:47 -04:00 committed by GitHub
parent 9a74f94418
commit f98fb44975
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,11 +175,7 @@ export default () => 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({