Skip to content

Commit

Permalink
Ajout couleur requêtes
Browse files Browse the repository at this point in the history
  • Loading branch information
bakraw committed May 27, 2024
1 parent 0ef4414 commit 433decc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mikromap-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func getMikromap(writer http.ResponseWriter, request *http.Request) {
// Récupération du nom d'utilisateur transmis par Grafana
user := request.URL.Query().Get("user")

fmt.Printf("Requête GET entrante sur /mikromap (user = %s)\n", user)
fmt.Printf("\033[32mRequête GET entrante sur /mikromap (user = %s)\033[0m\n", user)

// Récupération routers.json dans un struct
dataRouters := readJSON()
Expand Down

0 comments on commit 433decc

Please sign in to comment.