mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-27 01:29:16 +08:00
add support for setting global response headers using -header flag
add support for setting response headers for a successfuly triggered hook
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
"execute-command": "/home/adnan/redeploy-go-webhook.sh",
|
||||
"command-working-directory": "/home/adnan/go",
|
||||
"response-message": "I got the payload!",
|
||||
"response-headers":
|
||||
[
|
||||
{
|
||||
"name": "Access-Control-Allow-Origin",
|
||||
"value": "*"
|
||||
}
|
||||
],
|
||||
"pass-arguments-to-command":
|
||||
[
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user