Add geogebra previews
Co-authored-by: Florian Schade <fschade@owncloud.com> Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
co-authored by
Florian Schade
parent
1713041e14
commit
c9f6b961f9
@@ -103,7 +103,7 @@ func (e GifEncoder) MimeType() string {
|
||||
// or nil if the type is not supported.
|
||||
func EncoderForType(fileType string) (Encoder, error) {
|
||||
switch strings.ToLower(fileType) {
|
||||
case typePng:
|
||||
case typePng, typeGgs:
|
||||
return PngEncoder{}, nil
|
||||
case typeJpg, typeJpeg:
|
||||
return JpegEncoder{}, nil
|
||||
|
||||
Reference in New Issue
Block a user