You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was curious - is that possible to temporay overwrite default fog_authenticated_url_expiration on model.uploader_column.url() level? I want to use a default expiration time everywhere in my app but also be able to set longer expiration times for images displayed in mails (cause sometimes mail arrives or is opened a way longer than after 10 minutes and that causes the images being broken).
I would imagine it more or less like that: model.photo.url(:medium, fog_authenticated_url_expiration: 6000)
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi @mbajur, that functionality is not currently supported, although it could be implemented in CarrierWave::Storage::Fog#authenticated_url. If you'd like to provide a pull request with such an implementation, I'd be happy to look over it.
Hello everyone.
I was curious - is that possible to temporay overwrite default
fog_authenticated_url_expiration
onmodel.uploader_column.url()
level? I want to use a default expiration time everywhere in my app but also be able to set longer expiration times for images displayed in mails (cause sometimes mail arrives or is opened a way longer than after 10 minutes and that causes the images being broken).I would imagine it more or less like that:
model.photo.url(:medium, fog_authenticated_url_expiration: 6000)
Thanks in advance!
The text was updated successfully, but these errors were encountered: