Preserve request ports in message copy links

This commit is contained in:
GPT on behalf of DHH
2026-10-07 16:37:53 +02:00
parent 3c022a1641
commit 765711f27d
2 changed files with 27 additions and 1 deletions
@@ -8,6 +8,6 @@ module SetCurrentRequest
end
def default_url_options
{ host: Current.request_host, protocol: Current.request_protocol }.compact_blank
{ host: Current.request_host, port: Current.request&.optional_port, protocol: Current.request_protocol }.compact_blank
end
end