fix(git): GitHub App webhook endpoint defaults to IPv4 instead of the instance domain

This commit is contained in:
ShadowArcanist
2026-03-13 11:19:00 +05:30
parent 21ed8fd300
commit c3d8f70ebb
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -239,7 +239,7 @@ class Change extends Component
if (isCloud() && ! isDev()) {
$this->webhook_endpoint = config('app.url');
} else {
$this->webhook_endpoint = $this->ipv4 ?? '';
$this->webhook_endpoint = $this->fqdn ?? $this->ipv4 ?? '';
$this->is_system_wide = $this->github_app->is_system_wide;
}
} catch (\Throwable $e) {