Changeset ff72ad2 for node_modules/axios/lib/core/Axios.js
- Timestamp:
- 04/01/25 22:58:15 (2 months ago)
- Branches:
- master
- Children:
- 8ae59d6
- Parents:
- 3a74959
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
node_modules/axios/lib/core/Axios.js
r3a74959 rff72ad2 98 98 } 99 99 100 // Set config.allowAbsoluteUrls 101 if (config.allowAbsoluteUrls !== undefined) { 102 // do nothing 103 } else if (this.defaults.allowAbsoluteUrls !== undefined) { 104 config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls; 105 } else { 106 config.allowAbsoluteUrls = true; 107 } 108 100 109 validator.assertOptions(config, { 101 110 baseUrl: validators.spelling('baseURL'), … … 193 202 getUri(config) { 194 203 config = mergeConfig(this.defaults, config); 195 const fullPath = buildFullPath(config.baseURL, config.url );204 const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls); 196 205 return buildURL(fullPath, config.params, config.paramsSerializer); 197 206 }
Note:
See TracChangeset
for help on using the changeset viewer.