ftp setup added

This commit is contained in:
Čarodej
2022-04-12 10:43:23 +02:00
parent e71810a9bb
commit 8df7794484
13 changed files with 203 additions and 80 deletions

View File

@@ -309,9 +309,9 @@ export default {
})
})
.catch((error) => {
if (error.response.status === 401 && error.response.data.type === 's3-connection-error') {
if ([401, 500].includes(error.response.status)) {
events.$emit('alert:open', {
title: 'S3 Connection Error - Wrong Credentials or Not Permitted',
title: error.response.data.title || this.$t('popup_error.title'),
message: error.response.data.message,
})
} else {