adjust for custom domain

This commit is contained in:
Pete Matsyburka
2026-02-19 15:54:15 +02:00
parent 739e2abdf8
commit 825322d489
12 changed files with 48 additions and 31 deletions
@@ -33,7 +33,7 @@ class SubmitFormDownloadController < ApplicationController
end
urls = attachments.map do |attachment|
ActiveStorage::Blob.proxy_url(attachment.blob, expires_at: FILES_TTL.from_now.to_i)
ActiveStorage::Blob.proxy_path(attachment.blob, expires_at: FILES_TTL.from_now.to_i)
end
render json: urls