M buildsrht/templates/index-logged-out.html => buildsrht/templates/index-logged-out.html +1 -1
@@ 18,7 18,7 @@
</ul>
<a
class="btn btn-primary"
- href="{{cfg("meta.sr.ht", "origin")}}/register"
+ href="{{get_origin("meta.sr.ht", external=True)}}/register"
>Register here {{icon('caret-right')}}</a>
or
<a href="{{oauth_url}}">
M config.example.ini => config.example.ini +11 -0
@@ 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)