diff --git a/main.go b/main.go index f37ffd4..ccf8555 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ func main() { r.HandleFunc("/your-cpe-calendar.ics", handlers.GenerateICSHandler).Methods("GET") //validate route - r.HandleFunc("/validate", handlers.ValidateHandler).Methods("POST") + r.HandleFunc("/validate", handlers.ValidateHandler).Methods("GET") // Use the router in the http server log.Fatal(http.ListenAndServe(":8080", r)) diff --git a/static/index.html b/static/index.html index bd25d18..536fdd9 100644 --- a/static/index.html +++ b/static/index.html @@ -54,8 +54,16 @@

Obtenez votre calendrier

- + +
+

Votre lien de connexion est copié dans le presse-papier.

+ + +
@@ -103,41 +111,79 @@

Affiliation