2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

docs: clarify config order of precedence

This commit is contained in:
Justin Beckwith
2018-04-06 12:37:38 -07:00
committed by GitHub
+1 -1
View File
@@ -442,7 +442,7 @@ Config will be merged with an order of precedence. The order is library defaults
var instance = axios.create(); var instance = axios.create();
// Override timeout default for the library // Override timeout default for the library
// Now all requests will wait 2.5 seconds before timing out // Now all requests using this instance will wait 2.5 seconds before timing out
instance.defaults.timeout = 2500; instance.defaults.timeout = 2500;
// Override timeout for this request as it's known to take a long time // Override timeout for this request as it's known to take a long time