Skip to content

Commit

Permalink
feat: support rewrite url begin with /webhook/
Browse files Browse the repository at this point in the history
  • Loading branch information
winfredLIN committed Feb 1, 2024
1 parent dde7007 commit a029601
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/dms/biz/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ func NewDmsProxyUsecase(logger utilLog.Logger, repo ProxyTargetRepo, dmsPort int
},
// TODO 支持可配置
rewrite: map[string]string{
"/sqle/*": "/$1",
"/sqle/*": "/$1",
"/webhook/*": "/$1",
},
targets: targets,
logger: logger,
Expand Down

0 comments on commit a029601

Please sign in to comment.