mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
fix typo
Former-commit-id: 7b5d5530279789a3118190feb57776948b305662
This commit is contained in:
@@ -127,7 +127,7 @@ func ResolveAddr(addr string) string {
|
||||
if a[portIdx:] == ":https" {
|
||||
a = defaultServerHostname + ":443"
|
||||
} else {
|
||||
// if contains only :port ,then the : is the first letter, so we dont have setted a hostname, lets set it
|
||||
// if contains only :port ,then the : is the first letter, so we dont have set a hostname, lets set it
|
||||
a = defaultServerHostname + a
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user