mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-03 17:29:22 -05:00
explain flags
This commit is contained in:
@@ -29,6 +29,7 @@ func Frontend(cfg *config.Config) *cli.Command {
|
||||
|
||||
cfg.Reva.Frontend.Middleware.Auth.CredentialsByUserAgent = make(map[string]string, 0)
|
||||
uaw := c.StringSlice("user-agent-whitelist")
|
||||
fmt.Printf("\n\n%v\n\n", uaw)
|
||||
for _, v := range uaw {
|
||||
parts := strings.Split(v, ":")
|
||||
if len(parts) != 2 {
|
||||
|
||||
Reference in New Issue
Block a user