╭ changed ────────╮ │src/ui/widget.zig│ ╰─────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │2021 var ssh_index: ?usize = null; │ │2022 switch (handle.location) { │ │2023 .repo => |identity| { │ │2024 - if (session.data.git_http_port) |port| { │ │2024 + const http_port = if (handle.read_access == .public) session.data.git_http_port else null;│ │2025 + if (http_port) |port| { │ │2026 const url = try aa.print("http://localhost:{d}/{s}", .{ port, identity }); │ │2027 choices[count] = .{ │ │2028 .selector = "http", │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯