This commit is contained in:
Pete Matsyburka
2024-10-18 23:15:55 +03:00
parent 48f3b13f3e
commit 1d20c79cf4
@@ -38,6 +38,10 @@ class ApplicationController < ActionController::Base
end
def default_url_options
if request.domain == 'docuseal.com'
return { host: 'docuseal.com', protocol: ENV['FORCE_SSL'].present? ? 'https' : 'http' }
end
Docuseal.default_url_options
end