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