chore: 重新构建git仓库

This commit is contained in:
2026-01-22 10:30:23 +08:00
parent 962560ea31
commit 7cb4f30b85
756 changed files with 114900 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
'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
}