~comcloudway/builds.sr.ht

97b78d2c5a80869ed428d8367962b93916506200 — Drew DeVault 5 years ago e88adfd
Update to use core.sr.ht's get_origin
2 files changed, 12 insertions(+), 1 deletions(-)

M buildsrht/templates/index-logged-out.html
M config.example.ini
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)