mirror of https://github.com/nextcloud/server.git
Do not fetch the whole text file for the sidebar preview
Just fetch the first 10kb. This should be more than enough in 99% of the cases. And avoid downloading a 10mb text file just to display a tiny portion. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>pull/5954/head
parent
bb865a55fe
commit
3aa819c62c
Loading…
Reference in New Issue