chore: 更新静态资源文件并清理构建输出目录
删除旧的构建输出文件,包括图片资源和编译生成的JavaScript文件 添加新的图标资源文件到assets/img目录 更新package.json中的开发脚本配置
This commit is contained in:
15
.output/server/node_modules/axios/lib/helpers/combineURLs.js
generated
vendored
15
.output/server/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