Skip to content

Commit 58738da

Browse files
Fix link to defaults definition (axios#80)
Co-authored-by: Jay <[email protected]>
1 parent 985d926 commit 58738da

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.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.
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.
3636

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

0 commit comments

Comments
 (0)