2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

chore(docs): Issue was related to the outdated file path and Permalink in README.md (#5936)

chore(docs): Issue was related to the outdated file path and Permalink in README.md (#5936)
This commit is contained in:
Lipin Kariappa
2025-01-31 00:43:42 +05:30
committed by GitHub
parent 4719d7c219
commit cdacd9761c
+1 -1
View File
@@ -693,7 +693,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/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.
Config will be merged with an order of precedence. The order is library defaults found in [lib/defaults/index.js](https://github.com/axios/axios/blob/main/lib/defaults/index.js#L49), 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