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) <noreply@anthropic.com>
This commit is contained in:
Claude BM 2026-04-21 16:47:25 +00:00
parent ec02b57adc
commit cfaf67c4c6

View File

@ -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: