generated from nhcarrigan/template
feat: add cache to block IPs from brute force attempts
This commit is contained in:
7
server/src/cache/blockedIps.ts
vendored
Normal file
7
server/src/cache/blockedIps.ts
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
/**
|
||||
* @copyright nhcarrigan
|
||||
* @license Naomi's Public License
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
|
||||
export const blockedIps: Array<{ ip: string; ttl: Date }> = [];
|
Reference in New Issue
Block a user