mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-02 00:44:53 -05:00
Add previewFileMimeTypes to defaultconfig.go (#4414)
* Add previewFileMimeTypes to defaultconfig.go * Add changelog item * Format * Remove obsolete hideSearchBar config setting
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add previewFileMimeTypes to web default config
|
||||
|
||||
We've added previewFileMimeTypes to the web default config, so web can determine which preview types are supported
|
||||
by the backend.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/4414
|
||||
@@ -49,7 +49,7 @@ func DefaultConfig() *config.Config {
|
||||
},
|
||||
Apps: []string{"files", "search", "preview", "text-editor", "pdf-viewer", "external", "user-management"},
|
||||
Options: map[string]interface{}{
|
||||
"hideSearchBar": false,
|
||||
"previewFileMimeTypes": []string{"image/gif", "image/png", "image/jpeg", "text/plain"},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user