chore: configuration des routes

This commit is contained in:
Laurent Drogou
2021-01-18 20:53:49 +01:00
parent b155fbb3ae
commit cf49499021
6 changed files with 245 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
package main
func (s *server) routes() {
s.router.HandleFunc("/", s.handleIndex()).Methods("GET")
s.router.HandleFunc("/index", s.handleIndex()).Methods("GET")
s.router.HandleFunc("/oauth/redirect", s.handleRedirect()).Methods("GET")
}