view mod_pubsub_forgejo/webhook-examples/create/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: 2e3badae-779d-4627-94c7-505deeee8b55
X-Forgejo-Event: create
X-Forgejo-Event-Type: create
X-Forgejo-Signature: 99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad
X-GitHub-Delivery: 2e3badae-779d-4627-94c7-505deeee8b55
X-GitHub-Event: create
X-GitHub-Event-Type: create
X-Gitea-Delivery: 2e3badae-779d-4627-94c7-505deeee8b55
X-Gitea-Event: create
X-Gitea-Event-Type: create
X-Gitea-Signature: 99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad
X-Gogs-Delivery: 2e3badae-779d-4627-94c7-505deeee8b55
X-Gogs-Event: create
X-Gogs-Event-Type: create
X-Gogs-Signature: 99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad
X-Hub-Signature: sha1=a6edaf56463683b675cbc3a081292369a143c2c4
X-Hub-Signature-256: sha256=99f6adf0a156c379057735690dcfae3f483a026dde78ace6252b3da60b0e6bad