2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-14 18:42:33 +03:00

Merge pull request #1364 from MiguelMadero/mmadero/documents-timeout

Documents default
This commit is contained in:
Emily Morehouse
2018-02-17 09:28:47 -07:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -63,6 +63,10 @@ var defaults = {
return data;
}],
/**
* A timeout in milliseconds to abort a request. If set to 0 (default) a
* timeout is not created.
*/
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',