Add comments
This commit is contained in:
parent
4aa844946d
commit
5fe6845d7c
@ -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 () {
|
||||||
|
@ -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 () {
|
||||||
|
@ -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 () {
|
||||||
|
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user