Add support for loading users/folders on startup

Fixes #161
This commit is contained in:
Nicola Murino
2020-10-20 18:42:37 +02:00
parent b51d795e04
commit bb5207ad77
9 changed files with 220 additions and 73 deletions

View File

@@ -43,8 +43,9 @@ const (
webFoldersPath = "/web/folders"
webFolderPath = "/web/folder"
webStaticFilesPath = "/static"
maxRestoreSize = 10485760 // 10 MB
maxRequestSize = 1048576 // 1MB
// MaxRestoreSize defines the max size for the loaddata input file
MaxRestoreSize = 10485760 // 10 MB
maxRequestSize = 1048576 // 1MB
)
var (