Skip to content

Commit

Permalink
Update headers
Browse files Browse the repository at this point in the history
  • Loading branch information
sefinek committed Aug 12, 2024
1 parent 2436994 commit 835fbd4
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,10 @@ const API_URL = 'https://api.sefinek.net';
const headers = {
'User-Agent': `random-animals/${version} (+https://github.com/sefinek24/random-animals) ${process.env.JEST_WORKER_ID ? `jest/${devDependencies.jest.replace('^', '')}` : ''}`,
'Accept': 'application/json',
'Content-Type': 'application/json',
'Cache-Control': 'no-cache',
'CF-IPCountry': 'false',
'CF-Visitor': '{"scheme":"https"}',
'Connection': 'keep-alive',
'DNT': '1',
'Pragma': 'no-cache',
'Referrer-Policy': 'strict-origin-when-cross-origin',
'X-Content-Type-Options': 'nosniff',
'X-Frame-Options': 'DENY',
'X-XSS-Protection': '1; mode=block'
'DNT': '1'
};

/**
Expand Down

0 comments on commit 835fbd4

Please sign in to comment.