@liberstudio/cloudflare-list 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,6 +68,7 @@ let AttackLoggerMiddleware = class AttackLoggerMiddleware {
68
68
  if (ip === "unknown")
69
69
  return;
70
70
  const logEntry = `${new Date().toISOString()} [ATTACK] IP=${ip} METHOD=${req.method} URL=${req.url}\n`;
71
+ this.logger.debug(logEntry);
71
72
  await this.attSrv.updateIpList(ip);
72
73
  try {
73
74
  await fs.appendFile(this.logPath, logEntry);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liberstudio/cloudflare-list",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Modulo NestJS per gestione IP List Cloudflare",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",