view mod_pubsub_forgejo/webhook-examples/push/headers @ 6519:01d8bfbfc435

mod_pubsub_serverinfo: Fix check for local domain The module was checking whether a host exists, but this may be misleading if our host is loaded before the host that is being checked. This change makes it check the config. This will provide a false positive in the rare case that the host is defined but not activated/enabled. But we don't have an API currently for "is this host configured and enabled?"
author Matthew Wild <mwild1@gmail.com>
date Tue, 21 Apr 2026 19:54:19 +0100
parents 131b8bfbefb4
children
line wrap: on
line source

Content-Type: application/json
X-Forgejo-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-Forgejo-Event: push
X-Forgejo-Event-Type: push
X-Forgejo-Signature: 0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26
X-GitHub-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-GitHub-Event: push
X-GitHub-Event-Type: push
X-Gitea-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-Gitea-Event: push
X-Gitea-Event-Type: push
X-Gitea-Signature: 0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26
X-Gogs-Delivery: eec91577-9e9a-4914-929e-b7870f77fd57
X-Gogs-Event: push
X-Gogs-Event-Type: push
X-Gogs-Signature: 0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26
X-Hub-Signature: sha1=eacf3469341d9deecfcfbb3a63a4f1d55e60226c
X-Hub-Signature-256: sha256=0bd1c7325306a6f469df72d9966b2e89cebcf1fb790a1926ef9ff094141eed26