console icon indicating copy to clipboard operation
console copied to clipboard

download method need use subpath

Open tanbo800 opened this issue 2 years ago • 0 comments

i find preview buttom use method like : let basename = document.baseURI.replace(window.location.origin, ""); path = ${window.location.origin}${basename}api/v1/buckets/${bucketName}/objects/download?preview=true&prefix=${encodedPath}; but download has not use basename! now like that : let path = /api/v1/buckets/${bucketName}/objects/download?prefix=${objectPath}${ overrideFileName !== null && overrideFileName.trim() !== "" ? &override_file_name=${encodeURLString(overrideFileName || "")}` : ""

tanbo800 avatar Aug 06 '22 15:08 tanbo800