문제

I'm developing a website with AngularJS in frontend that sends requests to a Rails 4 API backend. I have to manage quite images, so I would like to use Amazon S3 (but I'm a newbie with this and I'm a bit lost).

I have uploaded an image to the folder in a new bucket (yanpy.dev) I have created in the path:

img/boats/1/1.jpg

How can I get this image to display it in a view in my AngularJS front-end?

Im trying something like:

<img src="http://yanpy.dev.s3.amazonaws.com/img/boats/1/1.jpg">

But it is not working.

도움이 되었습니까?

해결책

See @Sebastian comment above. Point for him.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top