Skip to content

Commit

Permalink
fix: updated README version header example
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Nov 9, 2022
1 parent cc6c916 commit a3a0ca3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -781,10 +781,9 @@ We recommend [superagent](https://github.com/visionmedia/superagent), however th
const request = superagent
.post('https://api.cabinjs.com')
.set('X-Request-Id', cuid()) // normalize server/browser request id formatting
.set('X-Axe-Version', logger.config.version)
.timeout(5000);
request.set('User-Agent', `axe/${logger.config.version}`);
// add basic auth header (e.g. if you use Cabin)
// if (config.key) request.auth('INSERT-YOUR-KEY');
Expand Down

0 comments on commit a3a0ca3

Please sign in to comment.