chore: webhook URLs to domain, manifest.json sync
This commit is contained in:
+3
-3
@@ -2,12 +2,12 @@
|
|||||||
"name": "pr-agent-auto-review",
|
"name": "pr-agent-auto-review",
|
||||||
"url": "https://github.com/asepharyana",
|
"url": "https://github.com/asepharyana",
|
||||||
"hook_attributes": {
|
"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
|
"active": true
|
||||||
},
|
},
|
||||||
"redirect_url": "http://45.127.35.244:3000/setup/callback",
|
"redirect_url": "https://pr-agent.asepharyana.my.id/setup/callback",
|
||||||
"callback_urls": [
|
"callback_urls": [
|
||||||
"http://45.127.35.244:3000/setup/callback"
|
"https://pr-agent.asepharyana.my.id/setup/callback"
|
||||||
],
|
],
|
||||||
"public": false,
|
"public": false,
|
||||||
"default_events": [
|
"default_events": [
|
||||||
|
|||||||
+3
-3
@@ -17,9 +17,9 @@ DESCRIPTION = "Automated PR review and merge bot powered by AI"
|
|||||||
HOME_URL = "https://github.com/asepharyana"
|
HOME_URL = "https://github.com/asepharyana"
|
||||||
PUBLIC_IP = "45.127.35.244"
|
PUBLIC_IP = "45.127.35.244"
|
||||||
PORT = 4002
|
PORT = 4002
|
||||||
WEBHOOK_URL = f"http://{PUBLIC_IP}:{PORT}/api/v1/github_webhooks"
|
WEBHOOK_URL = "https://pr-agent.asepharyana.my.id/api/v1/github_webhooks"
|
||||||
REDIRECT_URL = f"http://{PUBLIC_IP}:{PORT}/app-setup-complete"
|
REDIRECT_URL = "https://pr-agent.asepharyana.my.id/app-setup-complete"
|
||||||
CALLBACK_URLS = [f"http://{PUBLIC_IP}:{PORT}/callback"]
|
CALLBACK_URLS = ["https://pr-agent.asepharyana.my.id/callback"]
|
||||||
|
|
||||||
# Generate webhook secret
|
# Generate webhook secret
|
||||||
WEBHOOK_SECRET = secrets.token_hex(20)
|
WEBHOOK_SECRET = secrets.token_hex(20)
|
||||||
|
|||||||
Reference in New Issue
Block a user