view mod_pubsub_forgejo/webhook-examples/pull_request/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: d9ef04ca-cba6-4b43-bd81-81f7b10a3415
X-Forgejo-Event: pull_request
X-Forgejo-Event-Type: pull_request
X-Forgejo-Signature: 7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b
X-GitHub-Delivery: d9ef04ca-cba6-4b43-bd81-81f7b10a3415
X-GitHub-Event: pull_request
X-GitHub-Event-Type: pull_request
X-Gitea-Delivery: d9ef04ca-cba6-4b43-bd81-81f7b10a3415
X-Gitea-Event: pull_request
X-Gitea-Event-Type: pull_request
X-Gitea-Signature: 7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b
X-Gogs-Delivery: d9ef04ca-cba6-4b43-bd81-81f7b10a3415
X-Gogs-Event: pull_request
X-Gogs-Event-Type: pull_request
X-Gogs-Signature: 7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b
X-Hub-Signature: sha1=57534fff7c23b977b2be006e66797faf31a1021b
X-Hub-Signature-256: sha256=7963b65afbfaae02376cb5f44c4534bd28b34000e2c410badd1e3ebd922dbe4b