Преглед изворни кода

修改codelab服务器端口为8080

Hui Chen пре 10 година
родитељ
комит
d769a02769
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      examples/codelab/search_server.go

+ 1 - 1
examples/codelab/search_server.go

@@ -181,5 +181,5 @@ func main() {
 	http.HandleFunc("/json", JsonRpcServer)
 	http.Handle("/", http.FileServer(http.Dir("static")))
 	log.Print("服务器启动")
-	log.Fatal(http.ListenAndServe(":8180", nil))
+	log.Fatal(http.ListenAndServe(":8080", nil))
 }