Add config for setting search_min_length capability

This adds the "search_min_length" setting to the frontend service which
allows to set the search_min_length capabilty which is e.g. used by
web.

Partial: #547
This commit is contained in:
Ralf Haferkamp
2022-07-19 16:15:24 +02:00
committed by Ralf Haferkamp
parent 8d454cfd3d
commit 288b76d955
3 changed files with 3 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ func DefaultConfig() *config.Config {
UploadHTTPMethodOverride: "",
DefaultUploadProtocol: "tus",
EnableResharing: true,
SearchMinLength: 3,
Checksums: config.Checksums{
SupportedTypes: []string{"sha1", "md5", "adler32"},
PreferredUploadType: "",