From 484443f2512268e4682081eeb0b05daa983554f2 Mon Sep 17 00:00:00 2001 From: Alexander Shchukin Date: Tue, 3 May 2022 21:35:59 +0300 Subject: [PATCH] fix url to defaults.js (#4532) fix url to defaults.js Co-authored-by: Jay --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c904200f28..f267131633 100755 --- a/README.md +++ b/README.md @@ -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