From 485241d080482aa5921b2388ef345d5b0e1e360d Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Fri, 29 Apr 2022 17:59:42 +0800 Subject: [PATCH] cache & workMoments --- cmd/open_im_api/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/open_im_api/main.go b/cmd/open_im_api/main.go index 7b75efa90..83501019e 100644 --- a/cmd/open_im_api/main.go +++ b/cmd/open_im_api/main.go @@ -30,7 +30,7 @@ func main() { gin.SetMode(gin.ReleaseMode) f, _ := os.Create("../logs/api.log") gin.DefaultWriter = io.MultiWriter(f) - + gin.SetMode(gin.DebugMode) r := gin.Default() r.Use(utils.CorsHandler())