awslabs/aws-js-s3-explorer

Question: promptForBucketInput

Closed this issue · 5 comments

Hello,

Which part of the index.html should I modify so that the users can directly view the objects & subfolders of the bucket?
Removing the need to input the bucket name -- like this for example: https://dj2taa9i652rf.cloudfront.net/

Regards,

Not yet...

You have resolved this already?

E.g. https://dj2taa9i652rf.cloudfront.net/cdc-moderna-vaccine-distribution/csv/cdc-moderna-covid-19-vaccine-distribution-by-state.csv is directly accessible.

Not yet... in my own S3 -- it's prompting me to input a bucket-name (that's the default design)

image

What I'm trying to achieve is something like -> https://dj2taa9i652rf.cloudfront.net/
...where the users can directly view the list of objects and subfolders.

Honestly, I have little to zero background in html..., im just kind of reverse-engineering stuff (apologies for that)

@jaaayyy Open the index.html file and search for var s3exp_config - there you can set the bucket and the region.

got it working now .... thanks!!

@danil-smirnov thank you for helping.