diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-20 18:18:16 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-20 18:18:16 -0600 |
| commit | 4eb8d5a66cd20d0701c6ddc8dfb5c55e17069fdb (patch) | |
| tree | 56ed0e5330fa4f1cbde17b7a63df5d543cccbab2 | |
| parent | d9739b938655758c717364738434b26adb8382a1 (diff) | |
refactor: use schema and host config
| -rwxr-xr-x | bin/ui | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
