Closed dancinlife closed 3 years ago
Can i use this with 'Digitalocean Spaces' ?
const source = tinify.fromFile("large.jpg"); const resized = source.resize({ method: 'fit', width: 1000, height: 1000, }); resized.store({ service: "s3", aws_access_key_id: "APIKEY", aws_secret_access_key: "APISECRETKEY", region: "spg1", headers: { "Cache-Control": "public" }, path: "example-bucket/my-images/optimized.jpg" });
Currently the API works only with Amazon S3 and Google Cloud Storage. If you have any other questions, you can also contact us at support@tinify.com.
Have a great day!
Can i use this with 'Digitalocean Spaces' ?