add blobs proxy controller

This commit is contained in:
Pete Matsyburka
2024-02-18 11:26:30 +02:00
parent 5a3174a720
commit a728aa8689
8 changed files with 49 additions and 7 deletions
@@ -131,7 +131,7 @@ module Submissions
height - (area['y'] * height) - lines[..next_index].sum(&:height) + height_diff
],
A: { Type: :Action, S: :URI,
URI: h.rails_blob_url(attachment, **Docuseal.default_url_options) }
URI: ActiveStorage::Blob.proxy_url(attachment.blob) }
}
)