File tree 1 file changed +5
-0
lines changed
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
22
22
// to methods of that instance.
23
23
baseURL: ' https://some-domain.com/api' ,
24
24
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
+
25
30
// `transformRequest` allows changes to the request data before it is sent to the server
26
31
// This is only applicable for request methods 'PUT', 'POST', 'PATCH' and 'DELETE'
27
32
// 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