Commit 4eb8d5a
Changed files (1)
bin
bin/ui
@@ -120,7 +120,7 @@ module HTTPHelpers
if location.start_with?("http")
[302, { 'Location' => location }, []]
else
- [302, { 'Location' => "http://ui.example.com:8080#{location}" }, []]
+ [302, { 'Location' => "#{$scheme}://#{$host}#{location}" }, []]
end
end
end