Merge branch 'main' into #885-media-viewer

# Conflicts:
#	src/config/global-config.interface.ts
This commit is contained in:
Dániel Péter Sipos
2020-11-20 15:08:53 +01:00
164 changed files with 3045 additions and 688 deletions

View File

@@ -13,6 +13,11 @@ export const environment: GlobalConfig = {
port: 4000,
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
nameSpace: '/',
// The rateLimiter settings limit each IP to a "max" of 500 requests per "windowMs" (1 minute).
rateLimiter: {
windowMs: 1 * 60 * 1000, // 1 minute
max: 500 // limit each IP to 500 requests per windowMs
}
},
// The REST API server settings.
// NOTE: these must be "synced" with the 'dspace.server.url' setting in your backend's local.cfg.