mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
359a33f91a
commit
718cb09dc9
2 changed files with 2 additions and 4 deletions
|
|
@ -1058,6 +1058,7 @@ $CONFIG = [
|
|||
* concerns:
|
||||
*
|
||||
* - OC\Preview\Illustrator
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\Movie
|
||||
* - OC\Preview\MSOffice2003
|
||||
* - OC\Preview\MSOffice2007
|
||||
|
|
@ -1075,7 +1076,6 @@ $CONFIG = [
|
|||
*
|
||||
* - OC\Preview\BMP
|
||||
* - OC\Preview\GIF
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\JPEG
|
||||
* - OC\Preview\MarkDown
|
||||
* - OC\Preview\MP3
|
||||
|
|
@ -1089,7 +1089,6 @@ $CONFIG = [
|
|||
'OC\Preview\PNG',
|
||||
'OC\Preview\JPEG',
|
||||
'OC\Preview\GIF',
|
||||
'OC\Preview\HEIC',
|
||||
'OC\Preview\BMP',
|
||||
'OC\Preview\XBitmap',
|
||||
'OC\Preview\MP3',
|
||||
|
|
|
|||
|
|
@ -277,7 +277,6 @@ class PreviewManager implements IPreview {
|
|||
* - OC\Preview\JPEG
|
||||
* - OC\Preview\GIF
|
||||
* - OC\Preview\BMP
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\XBitmap
|
||||
* - OC\Preview\MarkDown
|
||||
* - OC\Preview\MP3
|
||||
|
|
@ -285,6 +284,7 @@ class PreviewManager implements IPreview {
|
|||
*
|
||||
* The following providers are disabled by default due to performance or privacy concerns:
|
||||
* - OC\Preview\Font
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\Illustrator
|
||||
* - OC\Preview\Movie
|
||||
* - OC\Preview\MSOfficeDoc
|
||||
|
|
@ -310,7 +310,6 @@ class PreviewManager implements IPreview {
|
|||
Preview\JPEG::class,
|
||||
Preview\GIF::class,
|
||||
Preview\BMP::class,
|
||||
Preview\HEIC::class,
|
||||
Preview\XBitmap::class,
|
||||
Preview\Krita::class,
|
||||
Preview\WebP::class,
|
||||
|
|
|
|||
Loading…
Reference in a new issue