mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-20 00:42:16 +00:00
ftp setup added
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user