mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
74348: Fix security issues reported by LGTM
This commit is contained in:
14
src/config/ui-server-config.interface.ts
Normal file
14
src/config/ui-server-config.interface.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { ServerConfig } from './server-config.interface';
|
||||
|
||||
/**
|
||||
* Server configuration related to the UI.
|
||||
*/
|
||||
export class UIServerConfig extends ServerConfig {
|
||||
|
||||
// rateLimiter is used to reduce the amount consequential hits and add a delay
|
||||
rateLimiter?: {
|
||||
windowMs: number;
|
||||
max: number;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user