s3 configuration fix

This commit is contained in:
Čarodej
2022-03-25 07:38:22 +01:00
parent bb1d775585
commit df05eb0433
14 changed files with 88 additions and 96 deletions

View File

@@ -88,7 +88,7 @@
rules="required"
v-slot="{ errors }"
>
<AppInputText v-if="storage.driver !== 's3'" title="Endpoint URL" :error="errors[0]">
<AppInputText title="Endpoint URL" :error="errors[0]">
<input
class="focus-border-theme input-dark"
v-model="storage.endpoint"
@@ -535,7 +535,8 @@ export default {
wasabi: 'https://s3.' + val + '.wasabisys.com',
backblaze: 'https://s3.' + val + '.backblazeb2.com',
oss: 'https://' + val + '.aliyuncs.com',
}[this.storage.driver]
s3: 'https://s3.amazonaws.com',
}[this.storage.driver]
},
},
computed: {