mirror of
https://github.com/spacebarchat/server.git
synced 2026-03-30 18:15:41 +00:00
Forgot the configuration, lol
This commit is contained in:
@@ -32,8 +32,11 @@ export class SecurityConfiguration {
|
||||
// trusted proxies to get the real user ip address
|
||||
// requires a reverse proxy to overwrite X-Forwarded-For, X-Forwarded-Host, X-Forwarded-Proto
|
||||
trustedProxies: string | boolean | null = null;
|
||||
ipdataApiKey: string | null =
|
||||
"eca677b284b3bac29eb72f5e496aa9047f26543605efe99ff2ce35c9";
|
||||
abuseIpDbApiKey: string | null = null;
|
||||
// https://docs.abuseipdb.com/#api-daily-rate-limits
|
||||
abuseipdbBlacklistRatelimit: number = 5;
|
||||
abuseipdbConfidenceScoreTreshold: number = 50;
|
||||
ipdataApiKey: string | null = "eca677b284b3bac29eb72f5e496aa9047f26543605efe99ff2ce35c9"; // isnt even valid anymore it seems?
|
||||
mfaBackupCodeCount: number = 10;
|
||||
statsWorldReadable: boolean = true;
|
||||
defaultRegistrationTokenExpiration: number = 1000 * 60 * 60 * 24 * 7; //1 week
|
||||
|
||||
Reference in New Issue
Block a user