Skip to content
Snippets Groups Projects
Commit f9f119a0 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

update main.go - change / to /redirect endpoint

parent f8fbb744
No related branches found
No related tags found
No related merge requests found
Pipeline #5493 passed
...@@ -76,8 +76,7 @@ func main() { ...@@ -76,8 +76,7 @@ func main() {
} }
}) })
// To be change by "/redirect" once enedis will have change the redirect uri mux.HandleFunc("/redirect", func(w http.ResponseWriter, r *http.Request) {
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Println("*******************") fmt.Println("*******************")
fmt.Println(time.Now().Format("2006-01-02 15:04:05"), "- New redirect request") fmt.Println(time.Now().Format("2006-01-02 15:04:05"), "- New redirect request")
query := r.URL.Query() query := r.URL.Query()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment