Skip to content

Commit 553d486

Browse files
Merge pull request #1 from hookdeck/fix/cli_path
fix: taking cli_path from attempt request instead of destination
2 parents 9964445 + 8abd981 commit 553d486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/proxy/proxy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ func (p *Proxy) processAttempt(msg websocket.IncomingMessage) {
197197
if p.cfg.PrintJSON {
198198
fmt.Println(webhookEvent.Body.Request.Data)
199199
} else {
200-
url := "http://localhost:" + p.cfg.Port + p.connections_paths[webhookEvent.Body.ConnectionId]
200+
url := "http://localhost:" + p.cfg.Port + webhookEvent.Body.Path
201201

202202
timeout := webhookEvent.Body.Request.Timeout
203203
if timeout == 0 {

0 commit comments

Comments
 (0)