config params
This commit is contained in:
parent
3fdb7abeaf
commit
35df7798ab
@ -107,3 +107,16 @@ module.exports.health = {
|
||||
query: 'select 1'
|
||||
};
|
||||
module.exports.disabled_file = 'pids/disabled';
|
||||
|
||||
module.exports.ratelimits = {
|
||||
// whether it should rate limit endpoints (global configuration)
|
||||
rateLimitsEnabled: false,
|
||||
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
|
||||
endpoints: {
|
||||
query: false,
|
||||
query_format: false,
|
||||
job_create: false,
|
||||
job_get: false,
|
||||
job_delete: false
|
||||
}
|
||||
}
|
||||
|
@ -111,3 +111,16 @@ module.exports.oauth = {
|
||||
allowedHosts: ['carto.com', 'cartodb.com']
|
||||
};
|
||||
module.exports.disabled_file = 'pids/disabled';
|
||||
|
||||
module.exports.ratelimits = {
|
||||
// whether it should rate limit endpoints (global configuration)
|
||||
rateLimitsEnabled: false,
|
||||
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
|
||||
endpoints: {
|
||||
query: false,
|
||||
query_format: false,
|
||||
job_create: false,
|
||||
job_get: false,
|
||||
job_delete: false
|
||||
}
|
||||
}
|
||||
|
@ -108,3 +108,16 @@ module.exports.health = {
|
||||
query: 'select 1'
|
||||
};
|
||||
module.exports.disabled_file = 'pids/disabled';
|
||||
|
||||
module.exports.ratelimits = {
|
||||
// whether it should rate limit endpoints (global configuration)
|
||||
rateLimitsEnabled: false,
|
||||
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
|
||||
endpoints: {
|
||||
query: false,
|
||||
query_format: false,
|
||||
job_create: false,
|
||||
job_get: false,
|
||||
job_delete: false
|
||||
}
|
||||
}
|
||||
|
@ -108,3 +108,16 @@ module.exports.oauth = {
|
||||
allowedHosts: ['localhost.lan:8080', 'localhostdb.lan:8080']
|
||||
};
|
||||
module.exports.disabled_file = 'pids/disabled';
|
||||
|
||||
module.exports.ratelimits = {
|
||||
// whether it should rate limit endpoints (global configuration)
|
||||
rateLimitsEnabled: false,
|
||||
// whether it should rate limit one or more endpoints (only if rateLimitsEnabled = true)
|
||||
endpoints: {
|
||||
query: false,
|
||||
query_format: false,
|
||||
job_create: false,
|
||||
job_get: false,
|
||||
job_delete: false
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user