diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 12b22978..95c42a6d 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -11,13 +11,13 @@ var config = { // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // // Base url for the Templated Maps API - // "/maps/named" is the new API, + // "/api/v1/map/named" is the new API, // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/maps/named|/tiles/template)' + ,base_url_templated: '(?:/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: '(?:/maps|/tiles/layergroup)' + ,base_url_detached: '(?:/api/v1/map|/tiles/layergroup)' // Base url for the Inline Maps and Table Maps API ,base_url_legacy: '/tiles/:table' diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 11a8c9c8..12035c60 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -11,13 +11,13 @@ var config = { // See http://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // // Base url for the Templated Maps API - // "/maps/named" is the new API, + // "/api/v1/map/named" is the new API, // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/maps/named|/tiles/template)' + ,base_url_templated: '(?:/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: '(?:/maps|/tiles/layergroup)' + ,base_url_detached: '(?:/api/v1/map|/tiles/layergroup)' // Base url for the Inline Maps and Table Maps API ,base_url_legacy: '/tiles/:table' diff --git a/config/environments/test.js.example b/config/environments/test.js.example index 0774821f..ffc5571a 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -11,13 +11,13 @@ var config = { // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // // Base url for the Templated Maps API - // "/maps/named" is the new API, + // "/api/v1/map/named" is the new API, // "/tiles/template" is for compatibility with versions up to 1.6.x - ,base_url_templated: '(?:/maps/named|/tiles/template)' + ,base_url_templated: '(?:/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: '(?:/maps|/tiles/layergroup)' + ,base_url_detached: '(?:/api/v1/map|/tiles/layergroup)' // Base url for the Inline Maps and Table Maps API ,base_url_legacy: '/tiles/:table'