mirror of
https://gitea.com/gitea/tea.git
synced 2025-09-02 09:58:29 +02:00
fix: non-standard ssh port URL's repo can't be recognized (#555)
Resolve #452 Reviewed-on: https://gitea.com/gitea/tea/pulls/555 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Grady Wong <wgqimut@gmail.com> Co-committed-by: Grady Wong <wgqimut@gmail.com>
This commit is contained in:
@ -228,5 +228,5 @@ func (l *Login) GetSSHHost() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
return u.Hostname()
|
||||
return u.Host
|
||||
}
|
||||
|
Reference in New Issue
Block a user