mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-25 22:32:30 +00:00
chore: update frontend build for v1.1.82 [skip ci]
This commit is contained in:
15
web/admin-spa/node_modules/axios/lib/helpers/combineURLs.js
generated
vendored
15
web/admin-spa/node_modules/axios/lib/helpers/combineURLs.js
generated
vendored
@@ -1,15 +0,0 @@
|
||||
'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;
|
||||
}
|
||||
Reference in New Issue
Block a user