Increased max file size to Document upload
This commit is contained in:
@@ -297,10 +297,10 @@ const showFileContent = (base64String, type) => {
|
||||
const jsonObject = JSON.parse(textContent); // Parse JSON
|
||||
fileContent.value = JSON.stringify(jsonObject, null, 2); // Formatta JSON
|
||||
} else {
|
||||
fileContent.value = 'Tipo di file non supportato.';
|
||||
fileContent.value = 'File type not supported.';
|
||||
}
|
||||
} catch (error) {
|
||||
fileContent.value = 'Errore durante la decodifica o il parsing del file.';
|
||||
fileContent.value = 'Error while parsing the file.';
|
||||
console.error(error);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user