From cfaf67c4c6bb27d27fa6ceafa26bda54bb65f623 Mon Sep 17 00:00:00 2001 From: Claude BM Date: Tue, 21 Apr 2026 16:47:25 +0000 Subject: [PATCH] Bind webhook server to 0.0.0.0 instead of 127.0.0.1 Required for Gitea webhook delivery via the server's public IP. Co-Authored-By: Claude Opus 4.6 (1M context) --- ci-webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-webhook.py b/ci-webhook.py index bb44a68..e084b40 100755 --- a/ci-webhook.py +++ b/ci-webhook.py @@ -146,7 +146,7 @@ def main(): print(f"[CI] Configured branches: {list(CONFIG.get('branches', {}).keys())}") print(f"[CI] Signature validation: {'enabled' if SECRET else 'disabled'}") - server = HTTPServer(("127.0.0.1", PORT), WebhookHandler) + server = HTTPServer(("0.0.0.0", PORT), WebhookHandler) try: server.serve_forever() except KeyboardInterrupt: