System Information
- Strapi Version: 4.3.8
- Operating System: Ubuntu
- Database: Postgres
- Node Version: 16.17.0
- NPM Version: 8.*
- Yarn Version:
I’m using the AWS S3 provider to upload my files to S3, then when I try to fetch that in the GraphQL, I notice that there’s a field called previewUrl: null
, how can I use that field?
I believe that field could be helpful to set a friendly url instead of use the direct AWS S3 url, any ideas?
Thank you all
Example of response
...
"image": {
"data": {
"attributes": {
"url": "https://MY-BUCKET.s3.eu-west-1.amazonaws.com/regents_street_london_england_5cf5bdf60e.jpg",
"previewUrl": null,
"alternativeText": "regents-street-london-england.jpg",
"caption": "regents-street-london-england.jpg",
"formats": {
"large": {
...