统一项目命名并接回MinIO三副本存储
This commit is contained in:
@@ -49,7 +49,7 @@ const normalizePathname = (url?: string) => {
|
||||
const withoutHash = raw.split('#')[0] || ''
|
||||
const withoutQuery = withoutHash.split('?')[0] || ''
|
||||
try {
|
||||
return new URL(withoutQuery, 'http://yuminail.local').pathname
|
||||
return new URL(withoutQuery, 'http://fingertipdesigner.local').pathname
|
||||
} catch {
|
||||
return withoutQuery.startsWith('/') ? withoutQuery : `/${withoutQuery}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user