From f9f119a0939f2a917ced4e64be6b1d8faf0a9e97 Mon Sep 17 00:00:00 2001 From: Yoan VALLET <ext.sopra.yvallet@grandlyon.com> Date: Mon, 25 May 2020 09:24:31 +0200 Subject: [PATCH] update main.go - change / to /redirect endpoint --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 9c7ddd7..b7cd276 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() -- GitLab