mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08: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
|
||||
|
||||
def to_url
|
||||
url = "http#{https ? "s" : ""}://#{name}"
|
||||
url = +"http#{https ? "s" : ""}://#{name}"
|
||||
|
||||
if https && port != 443 || !https && port != 80
|
||||
url << ":#{port}"
|
||||
|
Reference in New Issue
Block a user