From b64eaed7eda5ccd16d0739eb59fc96fc47386de8 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Wed, 29 Apr 2015 12:13:54 +0200 Subject: [PATCH] Enables any URL in HTTP renderer whitelist in example configurations --- config/environments/development.js.example | 1 + config/environments/production.js.example | 1 + config/environments/staging.js.example | 1 + config/environments/test.js.example | 1 + 4 files changed, 4 insertions(+) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 57e831f5..55b3739d 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -131,6 +131,7 @@ var config = { timeout: 2000, // the timeout in ms for a http tile request proxy: undefined, // the url for a proxy server whitelist: [ // the whitelist of urlTemplates that can be used + '.*', // will enable any URL 'http://{s}.example.com/{z}/{x}/{y}.png' ], // image to use as placeholder when urlTemplate is not in the whitelist diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 89106528..731ff573 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -125,6 +125,7 @@ var config = { timeout: 2000, // the timeout in ms for a http tile request proxy: undefined, // the url for a proxy server whitelist: [ // the whitelist of urlTemplates that can be used + '.*', // will enable any URL 'http://{s}.example.com/{z}/{x}/{y}.png' ], // image to use as placeholder when urlTemplate is not in the whitelist diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index c104b088..c3c9d2a1 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -125,6 +125,7 @@ var config = { timeout: 2000, // the timeout in ms for a http tile request proxy: undefined, // the url for a proxy server whitelist: [ // the whitelist of urlTemplates that can be used + '.*', // will enable any URL 'http://{s}.example.com/{z}/{x}/{y}.png' ], // image to use as placeholder when urlTemplate is not in the whitelist diff --git a/config/environments/test.js.example b/config/environments/test.js.example index b45842ae..aa9e3a1a 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -125,6 +125,7 @@ var config = { timeout: 2000, // the timeout in ms for a http tile request proxy: undefined, // the url for a proxy server whitelist: [ // the whitelist of urlTemplates that can be used + '.*', // will enable any URL 'http://{s}.example.com/{z}/{x}/{y}.png', // for testing purposes 'http://{s}.basemaps.cartocdn.com/dark_nolabels/{z}/{x}/{y}.png'