Fix
This commit is contained in:
1 parent
3dd173a53a
commit
5785d6d6cf
1 file changed
+2
-2
+2
-2
@@ -1,9 +1,9 @@
|
||||
const axios = require('axios');
|
||||
const { version } = require('../package.json');
|
||||
const { GITHUB_REPO } = require('../config.js');
|
||||
const { main } = require('../config.js');
|
||||
|
||||
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}; +${main.GITHUB_REPO})`,
|
||||
'Accept': 'application/json',
|
||||
'Cache-Control': 'no-cache',
|
||||
'Connection': 'keep-alive',
|
||||
|
||||
Reference in new issue
Block a user