Skip to content

Commit

Permalink
Always use EMS production url, even in dev (#21237) (#21291)
Browse files Browse the repository at this point in the history
This makes usage of EMS more predictable in Kibana, showing vetted production-ready data consistently
  • Loading branch information
thomasneirynck authored Jul 26, 2018
1 parent 137a090 commit b8c593d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/server/config/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit b8c593d

Please sign in to comment.