I use storage with endpoint for S3, so I need to set CDN url to get correctly link on the files afrer upload, example:
without CDN url (for me it's not work, because I use endpoint):
https://mybucket.amazonaws.com/folder123/14-01-2023/love.jpg
with CDN url (for me it's work and I can view the files):
https://my.cdnurl.com/folder123/14-01-2023/love.jpg
It's work in the post, but on the user page with my uploads the link is incorrect:
https://my.cdnurl.com/folder123
without /14-01-2023/love.jpg
If click to file icon browser open this incorrect link and I can't get the file from uploads page: