From 0c6fd8b0660132fe2f10d442ad7f684e7b7d4509 Mon Sep 17 00:00:00 2001 From: Uttkarsh-raj Date: Wed, 3 Apr 2024 17:22:48 +0530 Subject: [PATCH] test issue --- controller/controller.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/controller/controller.go b/controller/controller.go index 10df692..cc7c78d 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -67,6 +67,11 @@ func ProxyServer() gin.HandlerFunc { } model.RateLimiter.Requests[c.ClientIP()] = time.Now() + + // For testing pourpose + if queryURL == "https://www.tests.com/" { + c.String(http.StatusOK, "

Test Page

") + } } }