Quality fixes

This commit is contained in:
Sefinek committed 2024-12-24 23:47:58 +01:00
1 parent 1bd0ba2608
commit e1bfd289fd
5 files changed
+38 -37

No files matched your search

+2 -2
View File
@@ -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',