summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ui2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ui b/bin/ui
index 2bef8ee3..894f9a6e 100755
--- a/bin/ui
+++ b/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