Fix
This commit is contained in:
parent
5785d6d6cf
commit
2c8f93a95b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
|||
const axios = require('axios');
|
||||
const { version } = require('../package.json');
|
||||
const { main } = require('../config.js');
|
||||
const { GITHUB_REPO } = require('../config.js').MAIN;
|
||||
|
||||
axios.defaults.headers.common = {
|
||||
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +${main.GITHUB_REPO})`,
|
||||
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +${GITHUB_REPO})`,
|
||||
'Accept': 'application/json',
|
||||
'Cache-Control': 'no-cache',
|
||||
'Connection': 'keep-alive',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue