fix gh create button

This commit is contained in:
Andras Bacsai
2023-08-28 21:15:30 +02:00
parent d28cf0b76d
commit d7cfb84351
2 changed files with 5 additions and 4 deletions

View File

@@ -37,8 +37,9 @@ class Change extends Component
public function mount()
{
if (is_cloud()) {
if (is_cloud() && !isDev()) {
$this->webhook_endpoint = config('app.url');
ray($this->webhook_endpoint);
} else {
$this->webhook_endpoint = $this->ipv4;
$this->is_system_wide = $this->github_app->is_system_wide;