Some update
This commit is contained in:
parent
54e36e8867
commit
f0df723587
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"name": "cf-waf-to-abuseipdb",
|
||||
"version": "1.6.0",
|
||||
"description": "Node.js script for automatically reporting incidents to AbuseIPDB using data obtained from Cloudflare WAF.",
|
||||
"homepage": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB",
|
||||
"homepage": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB/issues"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
const { MAIN } = require('../config.js').CONFIG;
|
||||
const { version, homepage } = require('../package.json');
|
||||
const { version } = require('../package.json');
|
||||
|
||||
const UserAgent = `Mozilla/5.0 (compatible; Cloudflare-WAF-To-AbuseIPDB/${version}; +${homepage})`;
|
||||
const UserAgent = `Mozilla/5.0 (compatible; Cloudflare-WAF-To-AbuseIPDB/${version}; +https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB)`;
|
||||
|
||||
const CLOUDFLARE = {
|
||||
'User-Agent': UserAgent,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue