qoomon / aws-s3-bucket-browser

Single page application to browse AWS S3 bucket content
https://qoomon.github.io/aws-s3-bucket-browser/index.html?bucket=https://s3.amazonaws.com/spacenet-dataset#
MIT License
246 stars 85 forks source link

first time visit does not browse into given path prefix provided in url #30

Closed pasenau closed 2 years ago

pasenau commented 2 years ago

When entering an url like https://s3-bukcet.eu-west-1.amazonaws.com/#myFolder/second-one/ it shows the home folder https://s3-bukcet.eu-west-1.amazonaws.com/# instead of the contents of https://s3-bukcet.eu-west-1.amazonaws.com/#myFolder/second-one/ .

Here is the patch: just adding a new line and changing another:

index.html.patch.txt

Thanks for the tool!

qoomon commented 2 years ago

which version do you use? because it works already, see version 1.8.1 -> https://qoomon.github.io/aws-s3-bucket-browser/index.html?bucket=https://s3.eu-west-1.amazonaws.com/data.openspending.org#worldbank/

pasenau commented 2 years ago

Hi Qoomon, i was using version 1.8.0 with a S3 bucket behind CloudFront (using bucketMaskUrl). Adding the two lines, worked for me. Will try the new version without the addition. Thanks !

qoomon commented 2 years ago

Please reopen if you still facing this bug in version 1.8.1