changing endpoint groups names
This commit is contained in:
parent
7b44b7d559
commit
918674e01a
@ -5,19 +5,19 @@ const REDIS_DB = 8;
|
||||
const RATE_LIMIT_ENDPOINTS_GROUPS = {
|
||||
ENDPOINT_1: 'anonymous',
|
||||
ENDPOINT_2: 'static',
|
||||
ENDPOINT_3: 'staticNamed',
|
||||
ENDPOINT_3: 'static_named',
|
||||
ENDPOINT_5: 'dataview',
|
||||
ENDPOINT_6: 'dataviewSearch',
|
||||
ENDPOINT_6: 'dataview_search',
|
||||
ENDPOINT_7: 'analysis',
|
||||
ENDPOINT_8: 'tile',
|
||||
ENDPOINT_9: 'attributes',
|
||||
ENDPOINT_10: 'namedList',
|
||||
ENDPOINT_11: 'namedCreate',
|
||||
ENDPOINT_12: 'namedGet',
|
||||
ENDPOINT_10: 'named_list',
|
||||
ENDPOINT_11: 'named_create',
|
||||
ENDPOINT_12: 'named_get',
|
||||
ENDPOINT_13: 'named',
|
||||
ENDPOINT_14: 'namedUpdate',
|
||||
ENDPOINT_15: 'namedDelete',
|
||||
ENDPOINT_17: 'namedTiles'
|
||||
ENDPOINT_14: 'named_update',
|
||||
ENDPOINT_15: 'named_delete',
|
||||
ENDPOINT_17: 'named_tiles'
|
||||
};
|
||||
|
||||
function rateLimitMiddleware(metadataBackend, endpointGroup = null) {
|
||||
|
Loading…
Reference in New Issue
Block a user