cache & workMoments

This commit is contained in:
wangchuxiao
2022-04-29 17:59:42 +08:00
committed by Xinwei Xiong(cubxxw-openim)
parent 36c6a3b41b
commit 8554f1e228
+1 -1
View File
@@ -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())