awslabs / aws-js-s3-explorer

AWS JavaScript S3 Explorer is a JavaScript application that uses AWS's JavaScript SDK and S3 APIs to make the contents of an S3 bucket easy to browse via a web browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3 local connection

zekibabaoglu opened this issue · comments

Hello there,
I connect to my ceph S3 storage on my local with your aws-js-s3-explorer, Can it possible? because I took an error " has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. " . Can you help me?

Best regards.

commented

Can you explain what changes you have made here to attempt to access Ceph S3 locally?

Also, do you have S3 Explorer web page hosted in an S3 bucket or locally with a local web server?

Finally, which branch (master or v2-alpha) of the S3 Explorer are you using?

Just re-config AWS.config by
$scope.settings.cred = { endpointUrl: 'your-local-endpoint', accessKeyId: '', secretAccessKey: '', s3ForcePathStyle:true};