KV存储改为默认开启

保存

保存
This commit is contained in:
eoao
2025-12-31 23:33:52 +08:00
parent 69632c8cc6
commit 88a4b9dff5
16 changed files with 75 additions and 80 deletions

View File

@@ -13,6 +13,10 @@ export function cvtR2Url(key) {
let domain = settings.r2Domain
if (!domain) {
return key;
}
if (!domain.startsWith('http')) {
return 'https://' + domain + '/' + key
}
@@ -26,7 +30,7 @@ export function cvtR2Url(key) {
export function toOssDomain(domain) {
if (!domain) {
return null
return ''
}
if (!domain.startsWith('http')) {