add blobs proxy controller

This commit is contained in:
Pete Matsyburka committed 2024-02-18 11:36:50 +02:00
1 parent 5a3174a720
commit a728aa8689
8 files changed
+49 -7

No files matched your search

@@ -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) }
}
)