From ac51227d50dce1756300ab1fe28b1641fc80c287 Mon Sep 17 00:00:00 2001 From: Mickael Kerjean Date: Tue, 5 Sep 2023 00:34:19 +1000 Subject: [PATCH] fix (config): type error in featurs->share->redirect --- server/common/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/common/config.go b/server/common/config.go index 956f2233d..a5b4f1b0e 100644 --- a/server/common/config.go +++ b/server/common/config.go @@ -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{