adjust for custom domain

This commit is contained in:
Pete Matsyburka
2026-02-19 15:54:15 +02:00
parent 739e2abdf8
commit 825322d489
12 changed files with 48 additions and 31 deletions
@@ -42,10 +42,6 @@ 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