Add comments

This commit is contained in:
Daniel García Aubert 2019-10-01 19:48:16 +02:00
parent 4aa844946d
commit 5fe6845d7c
4 changed files with 16 additions and 4 deletions

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs // Base URLs for the APIs
// //
// See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API
//
// Note: each entry corresponds with an express' router.
// You must define at least one path. However, middlewares are optional.
,routes: { ,routes: {
api: { api: {
paths: [ paths: [
'/api/v1', '/api/v1',
'/user/:user/api/v1', '/user/:user/api/v1',
], ],
// Optional: attach middlewares at the begining of the req/res cycle // Optional: attach middlewares at the begining of the router
// to perform custom operations. // to perform custom operations.
middlewares: [ middlewares: [
function noop () { function noop () {

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs // Base URLs for the APIs
// //
// See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API
//
// Note: each entry corresponds with an express' router.
// You must define at least one path. However, middlewares are optional.
,routes: { ,routes: {
api: { api: {
paths: [ paths: [
'/api/v1', '/api/v1',
'/user/:user/api/v1', '/user/:user/api/v1',
], ],
// Optional: attach middlewares at the begining of the req/res cycle // Optional: attach middlewares at the begining of the router
// to perform custom operations. // to perform custom operations.
middlewares: [ middlewares: [
function noop () { function noop () {

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs // Base URLs for the APIs
// //
// See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API
//
// Note: each entry corresponds with an express' router.
// You must define at least one path. However, middlewares are optional.
,routes: { ,routes: {
api: { api: {
paths: [ paths: [
'/api/v1', '/api/v1',
'/user/:user/api/v1', '/user/:user/api/v1',
], ],
// Optional: attach middlewares at the begining of the req/res cycle // Optional: attach middlewares at the begining of the router
// to perform custom operations. // to perform custom operations.
middlewares: [ middlewares: [
function noop () { function noop () {

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs // Base URLs for the APIs
// //
// See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API // See https://github.com/CartoDB/Windshaft-cartodb/wiki/Unified-Map-API
//
// Note: each entry corresponds with an express' router.
// You must define at least one path. However, middlewares are optional.
,routes: { ,routes: {
api: { api: {
paths: [ paths: [
'/api/v1', '/api/v1',
'/user/:user/api/v1', '/user/:user/api/v1',
], ],
// Optional: attach middlewares at the begining of the req/res cycle // Optional: attach middlewares at the begining of the router
// to perform custom operations. // to perform custom operations.
middlewares: [ middlewares: [
function noop () { function noop () {