Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit f124465

Browse files
committed
Add https scheme
1 parent 41c0b06 commit f124465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh/forward_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func (f *ForwardController) handleForward(conn *ConnectionWrapper, address strin
105105
return nil, err
106106
}
107107

108-
_, _ = conn.Terminal.WriteString(fmt.Sprintf("forward \"%s:%d\" to \"%s.%s\"\r\n", address, port, forwardInfo.Subdomain, f.host))
108+
_, _ = conn.Terminal.WriteString(fmt.Sprintf("forward \"%s:%d\" to \"https://%s.%s/\"\r\n", address, port, forwardInfo.Subdomain, f.host))
109109
return portForwardResponse{Port: port}, nil
110110
}
111111

0 commit comments

Comments
 (0)