mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
minor
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user