add tiff and bmp to the preview app config
This commit is contained in:
1 file changed
+14
-1
@@ -47,7 +47,20 @@ func DefaultConfig() *config.Config {
|
|||||||
ResponseType: "code",
|
ResponseType: "code",
|
||||||
Scope: "openid profile email",
|
Scope: "openid profile email",
|
||||||
},
|
},
|
||||||
Apps: []string{"files", "search", "preview", "text-editor", "pdf-viewer", "external", "user-management"},
|
Apps: []string{"files", "search", "text-editor", "pdf-viewer", "external", "user-management"},
|
||||||
|
ExternalApps: []config.ExternalApp{
|
||||||
|
{
|
||||||
|
ID: "preview",
|
||||||
|
Path: "web-app-preview",
|
||||||
|
Config: map[string]interface{}{
|
||||||
|
"mimeTypes": []string{
|
||||||
|
"image/tiff",
|
||||||
|
"image/bmp",
|
||||||
|
"image/x-ms-bmp",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
Options: map[string]interface{}{
|
Options: map[string]interface{}{
|
||||||
"previewFileMimeTypes": []string{"image/gif", "image/png", "image/jpeg", "text/plain", "image/tiff", "image/bmp", "image/x-ms-bmp"},
|
"previewFileMimeTypes": []string{"image/gif", "image/png", "image/jpeg", "text/plain", "image/tiff", "image/bmp", "image/x-ms-bmp"},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user