From bcdec050fda686f66b62eeece93bf959bcc52254 Mon Sep 17 00:00:00 2001 From: David Christofas Date: Fri, 19 Nov 2021 10:54:59 +0100 Subject: [PATCH] fix public storage mapping --- storage/pkg/command/gateway.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/pkg/command/gateway.go b/storage/pkg/command/gateway.go index 3988eefc3..444a0fd6e 100644 --- a/storage/pkg/command/gateway.go +++ b/storage/pkg/command/gateway.go @@ -227,7 +227,7 @@ func rules(cfg *config.Config, logger log.Logger) map[string]map[string]interfac cfg.Reva.StorageUsers.MountPath: {"address": cfg.Reva.StorageUsers.Endpoint}, cfg.Reva.StorageUsers.MountID + ".*": {"address": cfg.Reva.StorageUsers.Endpoint}, cfg.Reva.StoragePublicLink.MountPath: {"address": cfg.Reva.StoragePublicLink.Endpoint}, - cfg.Reva.StoragePublicLink.MountID: {"address": cfg.Reva.StoragePublicLink.MountID}, + cfg.Reva.StoragePublicLink.MountID: {"address": cfg.Reva.StoragePublicLink.Endpoint}, // public link storage returns the mount id of the actual storage // medatada storage not part of the global namespace }