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
//
// 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: {
api: {
paths: [
'/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.
middlewares: [
function noop () {

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs
//
// 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: {
api: {
paths: [
'/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.
middlewares: [
function noop () {

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs
//
// 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: {
api: {
paths: [
'/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.
middlewares: [
function noop () {

View File

@ -16,13 +16,16 @@ var config = {
// Base URLs for the APIs
//
// 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: {
api: {
paths: [
'/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.
middlewares: [
function noop () {