From 9a60ab07a829a2aa8210d759c280a356ccfa11cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Wed, 30 May 2018 16:51:37 +0200 Subject: [PATCH] Remove deprecated base url configuration --- config/environments/development.js.example | 15 --------------- config/environments/production.js.example | 15 --------------- config/environments/staging.js.example | 15 --------------- config/environments/test.js.example | 15 --------------- 4 files changed, 60 deletions(-) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 2a849fd0..d6345b82 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -13,21 +13,6 @@ var config = { // from hostname. Must have a single grabbing block. ,user_from_host: '^(.*)\\.localhost' - // DEPRECATED: use routes property instead - // --------------------------------------- - // Base URLs for the APIs - // - // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API - // - // Base url for the Templated Maps API - // "/api/v1/map/named" is the new API, - // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/api/v1/map/named|/user/:user/api/v1/map/named|/tiles/template)' - // Base url for the Detached Maps API - // "maps" is the the new API, - // "tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/api/v1/map|/user/:user/api/v1/map|/tiles/layergroup)' - // Base URLs for the APIs // // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 5b1d50b8..d601dbc5 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -13,21 +13,6 @@ var config = { // from hostname. Must have a single grabbing block. ,user_from_host: '^(.*)\\.cartodb\\.com$' - // DEPRECATED: use routes property instead - // --------------------------------------- - // Base URLs for the APIs - // - // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API - // - // Base url for the Templated Maps API - // "/api/v1/map/named" is the new API, - // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/api/v1/map/named|/user/:user/api/v1/map/named|/tiles/template)' - // Base url for the Detached Maps API - // "maps" is the the new API, - // "tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/api/v1/map|/user/:user/api/v1/map|/tiles/layergroup)' - // Base URLs for the APIs // // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index 805f4ae7..76260b8f 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -13,21 +13,6 @@ var config = { // from hostname. Must have a single grabbing block. ,user_from_host: '^(.*)\\.cartodb\\.com$' - // DEPRECATED: use routes property instead - // --------------------------------------- - // Base URLs for the APIs - // - // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API - // - // Base url for the Templated Maps API - // "/api/v1/maps/named" is the new API, - // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/api/v1/map/named|/user/:user/api/v1/map/named|/tiles/template)' - // Base url for the Detached Maps API - // "/api/v1/maps" is the the new API, - // "/tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/api/v1/map|/user/:user/api/v1/map|/tiles/layergroup)' - // Base URLs for the APIs // // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API diff --git a/config/environments/test.js.example b/config/environments/test.js.example index f0484a6b..0dd475fe 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -13,21 +13,6 @@ var config = { // from hostname. Must have a single grabbing block. ,user_from_host: '(.*)' - // DEPRECATED: use routes property instead - // --------------------------------------- - // Base URLs for the APIs - // - // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API - // - // Base url for the Templated Maps API - // "/api/v1/map/named" is the new API, - // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/api/v1/map/named|/user/:user/api/v1/map/named|/tiles/template)' - // Base url for the Detached Maps API - // "maps" is the the new API, - // "tiles/layergroup" is for compatibility with versions up to 1.6.x - ,base_url_detached: '(?:/api/v1/map|/user/:user/api/v1/map|/tiles/layergroup)' - // Base URLs for the APIs // // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API