Skip to content

Commit 924faa0

Browse files
committed
feature: add a custom header
1 parent e828afc commit 924faa0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/forward-to-localhost.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ export const forwardWebhookToLocalhost = async (
1212
method: "POST",
1313
url: `${baseUrl}${webhook.path}`,
1414
data: JSON.parse(webhook.body),
15+
headers: {
16+
"X-WS-Original-Headers": webhook.headers,
17+
},
1518
};
1619

1720
axios

0 commit comments

Comments
 (0)