mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 09:42:02 +08:00
fix the build
This commit is contained in:
parent
b0e781e2d4
commit
e90aac11cb
|
@ -238,7 +238,7 @@ class FinalDestination
|
|||
old_port = @uri.port
|
||||
location = "#{location}##{@uri.fragment}" if @preserve_fragment_url && @uri.fragment.present?
|
||||
location = "#{@uri.scheme}://#{@uri.host}#{location}" if location[0] == "/"
|
||||
@uri = redirect_uri
|
||||
@uri = uri(location)
|
||||
@limit -= 1
|
||||
|
||||
# https redirect, so just cache that whole new domain is https
|
||||
|
|
Loading…
Reference in New Issue
Block a user