Skip to content

Commit

Permalink
feat: /campus-check -> base route (/)
Browse files Browse the repository at this point in the history
  • Loading branch information
proffapt committed Jul 2, 2024
1 parent 4a702c5 commit 0c27ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ func main() {
specialCors := cors.AllowAll()

mux := http.NewServeMux()
mux.Handle("/campus-check", specialCors.Handler(http.HandlerFunc(handleCampusCheck)))
mux.Handle("/", specialCors.Handler(http.HandlerFunc(handleCampusCheck)))
mux.Handle("/get-otp", generalCors.Handler(http.HandlerFunc(handleGetOtp)))
mux.Handle("/verify-otp", generalCors.Handler(http.HandlerFunc(handleVerifyOtp)))
mux.Handle("/validate-jwt", generalCors.Handler(http.HandlerFunc(handleValidateJwt)))
Expand Down

0 comments on commit 0c27ce8

Please sign in to comment.