pull/381/head
Pete Matsyburka 1 year ago
parent 48f3b13f3e
commit 1d20c79cf4

@ -38,6 +38,10 @@ class ApplicationController < ActionController::Base
end end
def default_url_options 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 Docuseal.default_url_options
end end

Loading…
Cancel
Save