From 97b78d2c5a80869ed428d8367962b93916506200 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 9 Apr 2019 20:19:31 -0400 Subject: [PATCH] Update to use core.sr.ht's get_origin --- buildsrht/templates/index-logged-out.html | 2 +- config.example.ini | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/buildsrht/templates/index-logged-out.html b/buildsrht/templates/index-logged-out.html index 70f9b74..acee867 100644 --- a/buildsrht/templates/index-logged-out.html +++ b/buildsrht/templates/index-logged-out.html @@ -18,7 +18,7 @@ Register here {{icon('caret-right')}} or diff --git a/config.example.ini b/config.example.ini index f051ed3..8125c4c 100644 --- a/config.example.ini +++ b/config.example.ini @@ -40,6 +40,17 @@ pgp-privkey= pgp-pubkey= pgp-key-id= +[webhooks] +# +# base64-encoded Ed25519 key for signing webhook payloads. This should be +# consistent for all *.sr.ht sites, as we'll use this key to verify signatures +# from other sites in your network. +# +# Use the srht-webhook-keygen command to generate a key. +# +# If omitted, webhook payloads are unsigned. +private-key= + [builds.sr.ht] # # URL builds.sr.ht is being served at (protocol://domain) -- 2.38.5