Skip to content

Commit

Permalink
fix url to defaults.js (#4532)
Browse files Browse the repository at this point in the history
fix url to defaults.js

Co-authored-by: Jay <jasonsaayman@gmail.com>
  • Loading branch information
sashsvamir and jasonsaayman committed May 3, 2022
1 parent ff1e5cd commit 484443f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -582,7 +582,7 @@ instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;
### Config order of precedence
Config will be merged with an order of precedence. The order is library defaults found in [lib/defaults.js](https://github.com/axios/axios/blob/master/lib/defaults.js#L28), then `defaults` property of the instance, and finally `config` argument for the request. The latter will take precedence over the former. Here's an example.
Config will be merged with an order of precedence. The order is library defaults found in [lib/defaults.js](https://github.com/axios/axios/blob/master/lib/defaults/index.js#L28), then `defaults` property of the instance, and finally `config` argument for the request. The latter will take precedence over the former. Here's an example.
```js
// Create an instance using the config defaults provided by the library
Expand Down

0 comments on commit 484443f

Please sign in to comment.