File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,11 @@ These are the available config options for making requests. Only the `url` is re
2222 // to methods of that instance.
2323 baseURL: ' https://some-domain.com/api' ,
2424
25+ // `allowAbsoluteUrls` determines whether or not absolute URLs will override a configured `baseUrl`.
26+ // When set to true (default), absolute values for `url` will override `baseUrl`.
27+ // When set to false, absolute values for `url` will always be prepended by `baseUrl`.
28+ allowAbsoluteUrls: true ,
29+
2530 // `transformRequest` allows changes to the request data before it is sent to the server
2631 // This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE'
2732 // The last function in the array must return a string or an instance of Buffer, ArrayBuffer,
You can’t perform that action at this time.
0 commit comments