Skip to content

Commit

Permalink
fix (config): type error in featurs->share->redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-kerjean committed Sep 4, 2023
1 parent 7405adb commit ac51227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/common/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit ac51227

Please sign in to comment.