Skip to content

Commit

Permalink
Merge pull request #76 from metakgp/rajiv/oauth-post
Browse files Browse the repository at this point in the history
Update Oauth to POST endpoint
  • Loading branch information
harshkhandeparkar authored Aug 8, 2024
2 parents 93aef3e + a2d9331 commit 8a16765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ func main() {
http.HandleFunc("/year", year)
http.HandleFunc("/library", library)
http.HandleFunc("POST /upload", upload)
http.HandleFunc("GET /oauth", GhAuth)
http.HandleFunc("POST /oauth", GhAuth)
//http.Handle("/protected", JWTMiddleware(http.HandlerFunc(protectedRoute)))

c := cors.New(cors.Options{
Expand Down

0 comments on commit 8a16765

Please sign in to comment.