RichFilemanager icon indicating copy to clipboard operation
RichFilemanager copied to clipboard

Preview URL some path items duplicated.

Open ghost opened this issue 5 years ago • 1 comments

using the AWS S3 connector connecting to AWS and display of files is working

noticed when clicking on a pdf file to preview, it wasn't displaying. when looking at the URL it is incorrect:

it displays as: s3://myBucket/uploads/uploads/faxes/test.pdf

it should be: s3://myBucket/uploads/faxes/test.pdf

there's an extra uploads in the path. (same with the other file types "upload" us duplicated"

the $userFilesPath is set as: "/uploads/faxes";

can you point me in which file this is getting built, I can debug through and see what's happening.

Thanks, JH

ghost avatar Oct 18 '20 14:10 ghost

Please set the path in your config like, $config['viewer'] = 's3://myBucket/uploads/';

akilapraba avatar Mar 16 '22 12:03 akilapraba