This commit is contained in:
Sefinek committed 2025-02-01 20:29:35 +01:00
1 parent d5921f19e7
commit 5320952ccb
8 files changed
+47 -49

No files matched your search

+1 -2
View File
@@ -1,9 +1,8 @@
const axios = require('axios');
const { version } = require('../package.json');
const { GITHUB_REPO } = require('../config.js').MAIN;
axios.defaults.headers.common = {
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +${GITHUB_REPO})`,
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +https://github.com/sefinek/UFW-AbuseIPDB-Reporter)`,
'Accept': 'application/json',
'Cache-Control': 'no-cache',
'Connection': 'keep-alive',