how to serve image from digitalocean spaces(s3)

im able to uploads file to the bucket but i cant serve the file to the frontend(i think by default digitalocean spaces are set to private) so i create presigned get url like this. but is it a good practice? any suggestion? thanks in advance
image.png
Was this page helpful?