mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 21:44:41 +08:00
FIX: make frozen string mutable in incoming_domain
This commit is contained in:
@ -23,7 +23,7 @@ class IncomingDomain < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
|
|
||||||
def to_url
|
def to_url
|
||||||
url = "http#{https ? "s" : ""}://#{name}"
|
url = +"http#{https ? "s" : ""}://#{name}"
|
||||||
|
|
||||||
if https && port != 443 || !https && port != 80
|
if https && port != 443 || !https && port != 80
|
||||||
url << ":#{port}"
|
url << ":#{port}"
|
||||||
|
Reference in New Issue
Block a user