mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-04 18:14:04 +08:00
Fixes an issue with handling of large image files.
Signed-off-by: Abijeet <abijeetpatro@gmail.com>
This commit is contained in:
parent
bf8dddd99c
commit
2cfcbe0a3c
@ -42,7 +42,7 @@ function mounted() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (xhr.status === 413) setMessage(trans('errors.server_upload_limit'));
|
if (xhr.status === 413) setMessage(trans('errors.server_upload_limit'));
|
||||||
if (errorMessage.file) setMessage(errorMessage.file[0]);
|
else if (errorMessage.file) setMessage(errorMessage.file);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user