diff --git a/main.go b/main.go index 9c7ddd7c6a318eda7c64a5ed7a6d1ac3476a2e23..b7cd276af1358c4b9bfbf5ab63e6cbf9b408c9eb 100644 --- a/main.go +++ b/main.go @@ -76,8 +76,7 @@ func main() { } }) - // To be change by "/redirect" once enedis will have change the redirect uri - mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + mux.HandleFunc("/redirect", func(w http.ResponseWriter, r *http.Request) { fmt.Println("*******************") fmt.Println(time.Now().Format("2006-01-02 15:04:05"), "- New redirect request") query := r.URL.Query()