add file metadata to database
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
function upload() {
|
||||
var file = _("FILE_SUBMISSION").files[0];
|
||||
const fileSize = file.size / 1024 / 1024;
|
||||
const maxSize = {{MAXIMUM_STORAGE_IN_MB}} - {{AVAILIBLE_STORAGE_IN_MB}};
|
||||
const maxSize = {{MAXIMUM_STORAGE_IN_MB}} - {{USED_STORAGE_IN_MB}};
|
||||
const maxFileNameLength = {{MAXIMUM_FILE_NAME_SIZE}};
|
||||
console.log(maxSize);
|
||||
console.log(maxFileNameLength);
|
||||
|
Reference in New Issue
Block a user