mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 15:42:32 -05:00
make public storage and direct upload optional
This commit is contained in:
1 parent
ff18fef2e3
commit
97b3adf91f
23 files changed
+336
-181
No files matched your search
@@ -19,6 +19,10 @@ module Docuseal
|
||||
ENV['MULTITENANT'] == 'true'
|
||||
end
|
||||
|
||||
def active_storage_public?
|
||||
ENV['ACTIVE_STORAGE_PUBLIC'] == 'true'
|
||||
end
|
||||
|
||||
def default_url_options
|
||||
return DEFAULT_URL_OPTIONS if multitenant?
|
||||
|
||||
|
||||
Reference in new issue
Block a user