Skip to content

Commit b9fe92f

Browse files
committed
add log
1 parent eec2397 commit b9fe92f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ func main() {
4141

4242
http.HandleFunc("/$$ggrok", s.Register)
4343
http.HandleFunc("/", s.Proxy)
44-
log.Println("Server started")
45-
log.Fatal(http.ListenAndServe("localhost:"+string(port), nil))
44+
log.Println("Server started at port:", port)
45+
log.Fatal(http.ListenAndServe(":"+port, nil))
4646
}

0 commit comments

Comments
 (0)