From 855e6712fa23d2518ea23307aa01e619550e8cec Mon Sep 17 00:00:00 2001 From: Roshan Choxi Date: Tue, 16 May 2017 10:25:02 -0500 Subject: [PATCH] docs: set content type for github webhook --- docs/github.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/github.md b/docs/github.md index ac168a2..ab504f4 100644 --- a/docs/github.md +++ b/docs/github.md @@ -16,6 +16,10 @@ Where download.myapp.com, is the URL of your Nuts server. It'll refresh versions cache everytime you update a release on GitHub. +### Content Type + +Make sure to set the Webhook content type to "application/json" instead of the default "application/x-www-form-urlencoded". + ### Secret The GitHub Webhook secret can be configured as a environment variable on Nuts: `GITHUB_SECRET` (default value is `secret`).