We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d905524 commit db0084fCopy full SHA for db0084f
auth/oauth.go
@@ -31,7 +31,7 @@ func main() {
31
}
32
33
code := ""
34
- srv := &http.Server{Addr: fmt.Sprintf(":%d", port)}
+ srv := &http.Server{Addr: fmt.Sprintf("localhost:%d", port)}
35
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
36
rq := r.URL.Query()
37
code = rq.Get("code")
0 commit comments