From 0c27ce800ac43c6fa16bff6ce9738d601766f702 Mon Sep 17 00:00:00 2001 From: proffapt Date: Tue, 2 Jul 2024 12:54:13 +0530 Subject: [PATCH] feat: /campus-check -> base route (/) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7190e9f..8e2274b 100644 --- a/main.go +++ b/main.go @@ -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)))