use Hostname() instead of Host which will contain the port (#6429)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
017cd2a957
Коммит
9a5f16924c
@@ -73,5 +73,6 @@ func GetSiteName(siteURL string) string {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return u.Host
|
|
||||||
|
return u.Hostname()
|
||||||
}
|
}
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user