mirror of
https://github.com/tenrok/axios.git
synced 2026-06-23 20:40:40 +03:00
@@ -429,7 +429,7 @@ These are the available config options for making requests. Only the `url` is re
|
|||||||
if (options.hostname === "example.com") {
|
if (options.hostname === "example.com") {
|
||||||
options.auth = "user:password";
|
options.auth = "user:password";
|
||||||
}
|
}
|
||||||
};
|
},
|
||||||
|
|
||||||
// `socketPath` defines a UNIX Socket to be used in node.js.
|
// `socketPath` defines a UNIX Socket to be used in node.js.
|
||||||
// e.g. '/var/run/docker.sock' to send requests to the docker daemon.
|
// e.g. '/var/run/docker.sock' to send requests to the docker daemon.
|
||||||
|
|||||||
Reference in New Issue
Block a user