mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
831e5848c9
commit
df4d8671a2
2 changed files with 2 additions and 4 deletions
|
|
@ -1021,6 +1021,7 @@ $CONFIG = [
|
|||
* concerns:
|
||||
*
|
||||
* - OC\Preview\Illustrator
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\Movie
|
||||
* - OC\Preview\MSOffice2003
|
||||
* - OC\Preview\MSOffice2007
|
||||
|
|
@ -1038,7 +1039,6 @@ $CONFIG = [
|
|||
*
|
||||
* - OC\Preview\BMP
|
||||
* - OC\Preview\GIF
|
||||
* - OC\Preview\HEIC
|
||||
* - OC\Preview\JPEG
|
||||
* - OC\Preview\MarkDown
|
||||
* - OC\Preview\MP3
|
||||
|
|
@ -1052,7 +1052,6 @@ $CONFIG = [
|
|||
'OC\Preview\PNG',
|
||||
'OC\Preview\JPEG',
|
||||
'OC\Preview\GIF',
|
||||
'OC\Preview\HEIC',
|
||||
'OC\Preview\BMP',
|
||||
'OC\Preview\XBitmap',
|
||||
'OC\Preview\MP3',
|
||||
|
|
|
|||
|
|
@ -278,7 +278,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
|
||||
|
|
@ -286,6 +285,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
|
||||
|
|
@ -311,7 +311,6 @@ class PreviewManager implements IPreview {
|
|||
Preview\JPEG::class,
|
||||
Preview\GIF::class,
|
||||
Preview\BMP::class,
|
||||
Preview\HEIC::class,
|
||||
Preview\XBitmap::class,
|
||||
Preview\Krita::class,
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in a new issue