From 86ff584b157b4774bb6e15f698cf3d5f2f175749 Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sun, 2 Aug 2026 16:22:32 +0700 Subject: [PATCH] chore: webhook URLs to domain, manifest.json sync --- manifest.json | 6 +++--- setup_app.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manifest.json b/manifest.json index 0640c10..9bce6be 100644 --- a/manifest.json +++ b/manifest.json @@ -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": [ diff --git a/setup_app.py b/setup_app.py index 552b287..b744d0d 100644 --- a/setup_app.py +++ b/setup_app.py @@ -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)