Change default port

This commit is contained in:
Star Brilliant
2017-10-04 00:58:33 +08:00
parent 5e1b33bab5
commit 45e42fe83c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ import (
)
func main() {
addr := flag.String("addr", ":8080", "HTTP listen port")
addr := flag.String("addr", "[::1]:8080", "HTTP listen port")
cert := flag.String("cert", "", "TLS certification file")
key := flag.String("key", "", "TLS key file")
path := flag.String("path", "/resolve", "HTTP path for resolve application")