chore: webhook URLs to domain, manifest.json sync

This commit is contained in:
asepharyana
2026-08-02 16:22:32 +07:00
parent b9ba5ad9fa
commit 86ff584b15
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -2,12 +2,12 @@
"name": "pr-agent-auto-review",
"url": "https://github.com/asepharyana",
"hook_attributes": {
"url": "http://45.127.35.244:3000/api/v1/github_webhooks",
"url": "https://pr-agent.asepharyana.my.id/api/v1/github_webhooks",
"active": true
},
"redirect_url": "http://45.127.35.244:3000/setup/callback",
"redirect_url": "https://pr-agent.asepharyana.my.id/setup/callback",
"callback_urls": [
"http://45.127.35.244:3000/setup/callback"
"https://pr-agent.asepharyana.my.id/setup/callback"
],
"public": false,
"default_events": [
+3 -3
View File
@@ -17,9 +17,9 @@ DESCRIPTION = "Automated PR review and merge bot powered by AI"
HOME_URL = "https://github.com/asepharyana"
PUBLIC_IP = "45.127.35.244"
PORT = 4002
WEBHOOK_URL = f"http://{PUBLIC_IP}:{PORT}/api/v1/github_webhooks"
REDIRECT_URL = f"http://{PUBLIC_IP}:{PORT}/app-setup-complete"
CALLBACK_URLS = [f"http://{PUBLIC_IP}:{PORT}/callback"]
WEBHOOK_URL = "https://pr-agent.asepharyana.my.id/api/v1/github_webhooks"
REDIRECT_URL = "https://pr-agent.asepharyana.my.id/app-setup-complete"
CALLBACK_URLS = ["https://pr-agent.asepharyana.my.id/callback"]
# Generate webhook secret
WEBHOOK_SECRET = secrets.token_hex(20)