make mimetype allow list configurable and add example config

This commit is contained in:
Willy Kloucek
2021-10-01 08:28:40 +02:00
parent 80ae89369f
commit 5073e10405
7 changed files with 223 additions and 0 deletions
+7
View File
@@ -39,6 +39,12 @@ type StorageRegistry struct {
JSON string
}
// AppRegistry defines the available app registry configuration
type AppRegistry struct {
Driver string
MimetypesJSON string
}
// AppProvider defines the available app provider configuration
type AppProvider struct {
Port
@@ -438,6 +444,7 @@ type Reva struct {
DataGateway DataGatewayPort
Gateway Gateway
StorageRegistry StorageRegistry
AppRegistry AppRegistry
Users Users
Groups Groups
AuthProvider Users