Quality fixes
This commit is contained in:
1 parent
1bd0ba2608
commit
e1bfd289fd
5 files changed
+38
-37
No files matched your search
+2
-2
@@ -1,8 +1,8 @@
|
||||
const axios = require('axios');
|
||||
const { version, homepage } = require('../config.js');
|
||||
const { version } = require('../config.js');
|
||||
|
||||
axios.defaults.headers.common = {
|
||||
'User-Agent': `Mozilla/5.0 (compatible; UFW-AbuseIPDB-Reporter/${version}; +${homepage})`,
|
||||
'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',
|
||||
|
||||
Reference in new issue
Block a user