diff --git a/src/server/config/schema.js b/src/server/config/schema.js index 01ffeab20d735..0380a19a71880 100644 --- a/src/server/config/schema.js +++ b/src/server/config/schema.js @@ -132,7 +132,11 @@ module.exports = () => Joi.object({ allowAnonymous: Joi.boolean().default(false) }).default(), tilemap: Joi.object({ - manifestServiceUrl: Joi.string().default('https://tiles-stage.elastic.co/v2/manifest'), + manifestServiceUrl: Joi.when('$dev', { + is: true, + then: Joi.string().default('https://tiles-stage.elastic.co/v2/manifest'), + otherwise: Joi.string().default('https://tiles.elastic.co/v2/manifest') + }), url: Joi.string(), options: Joi.object({ attribution: Joi.string(),