正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -34,7 +34,7 @@ func init() { | @@ -34,7 +34,7 @@ func init() { | ||
34 | web.InsertFilter("/*", web.BeforeRouter, filters.AllowCors()) | 34 | web.InsertFilter("/*", web.BeforeRouter, filters.AllowCors()) |
35 | web.InsertFilter("/*", web.BeforeExec, filters.CreateRequstLogFilter(log.Logger)) | 35 | web.InsertFilter("/*", web.BeforeExec, filters.CreateRequstLogFilter(log.Logger)) |
36 | web.InsertFilter("/*", web.AfterExec, filters.CreateResponseLogFilter(log.Logger), web.WithReturnOnOutput(false)) | 36 | web.InsertFilter("/*", web.AfterExec, filters.CreateResponseLogFilter(log.Logger), web.WithReturnOnOutput(false)) |
37 | - web.InsertFilter("/v1/app/*", web.BeforeExec, filters.SecureHandler( | 37 | + web.InsertFilter("/v1/app11/*", web.BeforeExec, filters.SecureHandler( |
38 | filters.WithEnableCheckTimestamp(false), | 38 | filters.WithEnableCheckTimestamp(false), |
39 | filters.WithOnInvalidRequest(func(ctx *context.Context) { | 39 | filters.WithOnInvalidRequest(func(ctx *context.Context) { |
40 | headerData, _ := json.Marshal(ctx.Input.Context.Request.Header) | 40 | headerData, _ := json.Marshal(ctx.Input.Context.Request.Header) |
-
请 注册 或 登录 后发表评论