fix the build

This commit is contained in:
Arpit Jalan 2019-08-07 16:39:58 +05:30
parent b0e781e2d4
commit e90aac11cb
1 changed files with 1 additions and 1 deletions

View File

@ -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