Ignore:
Timestamp:
04/01/25 22:58:15 (2 months ago)
Author:
ste08 <sjovanoska@…>
Branches:
master
Children:
8ae59d6
Parents:
3a74959
Message:

Adding review works\!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • node_modules/axios/lib/core/Axios.js

    r3a74959 rff72ad2  
    9898    }
    9999
     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
    100109    validator.assertOptions(config, {
    101110      baseUrl: validators.spelling('baseURL'),
     
    193202  getUri(config) {
    194203    config = mergeConfig(this.defaults, config);
    195     const fullPath = buildFullPath(config.baseURL, config.url);
     204    const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
    196205    return buildURL(fullPath, config.params, config.paramsSerializer);
    197206  }
Note: See TracChangeset for help on using the changeset viewer.