From 514d2bac5921c3727da02473a6348c53b51f427f Mon Sep 17 00:00:00 2001 From: qowevisa Date: Mon, 12 Aug 2024 18:48:09 +0300 Subject: [PATCH] Make api listens to localhost --- cmd/http-server/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/http-server/main.go b/cmd/http-server/main.go index efa4028..fe8395f 100644 --- a/cmd/http-server/main.go +++ b/cmd/http-server/main.go @@ -81,5 +81,5 @@ func main() { }) go tokens.StartTokens() - r.Run(":3001") + r.Run("127.0.0.1:3001") }