diff --git a/cmd/serverFunc.go b/cmd/serverFunc.go index c48d0e9..27f4cb3 100644 --- a/cmd/serverFunc.go +++ b/cmd/serverFunc.go @@ -21,6 +21,7 @@ func server() { router := gin.New() router.GET("/", serveIP) + router.GET("/:id", serveIP) router.Run(":" + listenPort) }