Skip to content

Commit

Permalink
Merge pull request #169 from actiontech/issue2238
Browse files Browse the repository at this point in the history
feat: support rewrite url begin with /webhook/
  • Loading branch information
ColdWaterLW authored Feb 1, 2024
2 parents f23a3e1 + a029601 commit 972aa2b
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 972aa2b

Please sign in to comment.