fix (config): type error in featurs->share->redirect

This commit is contained in:
Mickael Kerjean 2023-09-05 00:34:19 +10:00
parent c5828eb3de
commit 3dc7b77d37

View file

@ -97,7 +97,7 @@ func NewConfiguration() Configuration {
Elmnts: []FormElement{
FormElement{Name: "enable", Type: "boolean", Default: true, Description: "Enable/Disable the share feature"},
FormElement{Name: "default_access", Type: "select", Default: "editor", Opts: []string{"editor", "viewer"}, Description: "Default access for shared links"},
FormElement{Name: "redirect", Type: "string", Placeholder: "redirection URL", Description: "When set, shared links will perform a redirection to another link. Example: https://example.com?full_path={{path}}"},
FormElement{Name: "redirect", Type: "text", Placeholder: "redirection URL", Description: "When set, shared links will perform a redirection to another link. Example: https://example.com?full_path={{path}}"},
},
},
Form{