mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
com host
This commit is contained in:
1 parent
48f3b13f3e
commit
1d20c79cf4
1 file changed
+4
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user