上传视频,页面调整

This commit is contained in:
weicw
2023-08-23 17:38:39 +08:00
parent 9e931e9f6b
commit cbd5aa2a06
79 changed files with 6712 additions and 73 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
}