Commits

Yana De Pauw authored 963d72ddcd6
74348: Increase ratelimiter to 500
No tags

src/environments/environment.common.ts

Modified
6 6 export const environment: GlobalConfig = {
7 7 production: true,
8 8 // Angular Universal server settings.
9 9 // NOTE: these must be "synced" with the 'dspace.ui.url' setting in your backend's local.cfg.
10 10 ui: {
11 11 ssl: false,
12 12 host: 'localhost',
13 13 port: 4000,
14 14 // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
15 15 nameSpace: '/',
16 - // The rateLimiter settings limit each IP to a "max" of 120 requests per "windowMs" (1 minute).
16 + // The rateLimiter settings limit each IP to a "max" of 500 requests per "windowMs" (1 minute).
17 17 rateLimiter: {
18 18 windowMs: 1 * 60 * 1000, // 1 minute
19 - max: 120 // limit each IP to 120 requests per windowMs
19 + max: 500 // limit each IP to 500 requests per windowMs
20 20 }
21 21 },
22 22 // The REST API server settings.
23 23 // NOTE: these must be "synced" with the 'dspace.server.url' setting in your backend's local.cfg.
24 24 rest: {
25 25 ssl: true,
26 26 host: 'dspace7.4science.cloud',
27 27 port: 443,
28 28 // NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
29 29 nameSpace: '/server',

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut