1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-14 14:18:41 +03:00
parent 9f0872719f
commit d0d7679a98
3 changed files with 3 additions and 5 deletions

View File

@@ -910,7 +910,6 @@ func GetDomain(hostport string) string {
host = tmp
}
// has port.
switch host {
case "127.0.0.1", "0.0.0.0", "::1", "[::1]", "0:0:0:0:0:0:0:0", "0:0:0:0:0:0:0:1":
// loopback.