sagidM / s3-resizer

AWS Lambda for resizing images in S3 on fly.
MIT License
224 stars 78 forks source link

add CDN url error #19

Open shengping001 opened 3 years ago

shengping001 commented 3 years ago

hi, I made a mistake after using CDN http://igm.cloud.com/file/20201223/200x100/e623b969e19a2e58d1f00e6f4072b7.jpeg https://elsisdetz4l.execute-api.us-west-2.amazonaws.com/default/img-resize
301 http://igm.cloud.com/file/20201223/200x100/e623b969e19a2e58d1f00e6f4072b7.jpeg error

sagidM commented 3 years ago

Hi @shengping001 The links do not work. Could you please, provide working ones and add a little description.

TsPuujee commented 1 year ago

@shengping001 my solution is redirect cloud front url. it work example: https://image.toktok.mn/AUTOxAUTO_max_png/c1-courier.png my fixed project: https://github.com/TsPuujee/nodejs-serverless-image-resizer