74348: Fix security issues reported by LGTM

This commit is contained in:
Yana De Pauw
2020-11-06 14:30:39 +01:00
parent 1e87f2b742
commit 5ef7ae1b86
7 changed files with 45 additions and 4 deletions

View 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;
};
}