first commit

This commit is contained in:
Lee
2022-11-17 16:42:35 +00:00
commit 24bfe1b97c
1098 changed files with 174467 additions and 0 deletions

15
node_modules/axios/lib/helpers/combineURLs.js generated vendored Normal file
View File

@ -0,0 +1,15 @@
'use strict';
/**
* Creates a new URL by combining the specified URLs
*
* @param {string} baseURL The base URL
* @param {string} relativeURL The relative URL
*
* @returns {string} The combined URL
*/
export default function combineURLs(baseURL, relativeURL) {
return relativeURL
? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
: baseURL;
}