From 50218633aaa007c9ddaee2af1b683bae2f3d55d3 Mon Sep 17 00:00:00 2001 From: wangyi Date: Fri, 6 Dec 2019 16:27:34 +0800 Subject: [PATCH] bug fix --- src/middleware/usage_count.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middleware/usage_count.go b/src/middleware/usage_count.go index 2ddada8..7bdfe44 100644 --- a/src/middleware/usage_count.go +++ b/src/middleware/usage_count.go @@ -28,5 +28,5 @@ func init() { } func UsageCount(c *gin.Context) { - channel <- c.Request.RequestURI -} \ No newline at end of file + channel <- c.Request.URL.Path +}