mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
adjust for custom domain
This commit is contained in:
1 parent
739e2abdf8
commit
825322d489
12 files changed
+48
-31
No files matched your search
@@ -6,7 +6,7 @@ class TemplateDocumentsController < ApplicationController
|
||||
FILES_TTL = 5.minutes
|
||||
|
||||
def index
|
||||
render json: @template.schema_documents.map { |d| ActiveStorage::Blob.proxy_url(d.blob, expires_at: FILES_TTL.from_now.to_i) }
|
||||
render json: @template.schema_documents.map { |d| ActiveStorage::Blob.proxy_path(d.blob, expires_at: FILES_TTL.from_now.to_i) }
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in new issue
Block a user