mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 21:04:46 +01:00
fix (config): type error in featurs->share->redirect
This commit is contained in:
parent
c5828eb3de
commit
3dc7b77d37
1 changed files with 1 additions and 1 deletions
|
|
@ -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{
|
||||
|
|
|
|||
Loading…
Reference in a new issue