mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-23 05:59:28 -06:00
fix spaces thumbnails
When requesting files using spaces references, the path needs to be relative
This commit is contained in:
@@ -3,3 +3,4 @@ Enhancement: Thumbnails in spaces
|
||||
Added support for thumbnails in spaces.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/3219
|
||||
https://github.com/owncloud/ocis/pull/3235
|
||||
|
||||
@@ -52,7 +52,8 @@ func (s CS3) Get(ctx context.Context, path string) (io.ReadCloser, error) {
|
||||
StorageId: spaceID,
|
||||
OpaqueId: spaceID,
|
||||
},
|
||||
Path: path,
|
||||
// Spaces requests need relative paths.
|
||||
Path: "." + path,
|
||||
}
|
||||
} else {
|
||||
ref = &provider.Reference{
|
||||
|
||||
Reference in New Issue
Block a user