Fix
This commit is contained in:
1 parent
f0003a7f5a
commit
3dd173a53a
2 files changed
+3
-3
No files matched your search
+3
-2
@@ -1,8 +1,9 @@
|
||||
const axios = require('axios');
|
||||
const { version } = require('../config.js');
|
||||
const { version } = require('../package.json');
|
||||
const { GITHUB_REPO } = require('../config.js');
|
||||
|
||||
axios.defaults.headers.common = {
|
||||
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +https://github.com/sefinek/UFW-AbuseIPDB-Reporter)`,
|
||||
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +${GITHUB_REPO})`,
|
||||
'Accept': 'application/json',
|
||||
'Cache-Control': 'no-cache',
|
||||
'Connection': 'keep-alive',
|
||||
|
||||
Reference in new issue
Block a user