Skip to content

Commit a068006

Browse files
Update link to lib/defaults/index.js (axios#88)
Resolves axios#87 Co-authored-by: Jay <[email protected]>
1 parent 5f66a66 commit a068006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/en/config_defaults.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ instance.defaults.headers.common['Authorization'] = AUTH_TOKEN;
3232

3333
### Config order of precedence
3434

35-
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/master/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.
35+
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/649d739288c8e2c55829ac60e2345a0f3439c730/lib/defaults/index.js#L59), 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.
3636

3737
```js
3838
// Create an instance using the config defaults provided by the library

0 commit comments

Comments
 (0)