소스 검색

修改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))
 }