From 2af32bbab616390a9d490f3e7dd942f546fc90dd Mon Sep 17 00:00:00 2001 From: Alexander Shchukin Date: Thu, 17 Mar 2022 12:23:00 +0300 Subject: [PATCH] fix url to defaults.js fix url to defaults.js --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ad5199645e..35d20a389b 100755 --- a/README.md +++ b/README.md @@ -573,7 +573,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