An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix gh create button
Andras Bacsaid7cfb8435113
diff --git a/app/Http/Livewire/Source/Github/Change.php b/app/Http/Livewire/Source/Github/Change.phpindex 859e94f79b..f4ab49c1a8 100644--- a/app/Http/Livewire/Source/Github/Change.php+++ b/app/Http/Livewire/Source/Github/Change.php@@ -37,8 +37,9 @@ class Change extends Componentpublic 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;diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.phpindex 737bdac426..632791b9f1 100644--- a/resources/views/livewire/source/github/change.blade.php+++ b/resources/views/livewire/source/github/change.blade.php@@ -4,7 +4,7 @@<p>This source will be deleted. It is not reversible. <br>Please think again.</p></x-slot:modalBody></x-modal>- <form wire:submit.prevent='submit'>+ <form wire:submit.prevent='submit' x-data><div class="flex items-center gap-2"><h1>GitHub App</h1><div class="flex gap-2">@@ -77,7 +77,7 @@</div><div class="pt-1 pb-2 ">You need to register a GitHub App before using this source.</div><div class="pt-2 pb-10">- @if (!is_cloud())+ @if (!is_cloud() || isDev())<div class="flex items-end gap-2"><x-forms.select wire:model='webhook_endpoint' label="Webhook Endpoint"helper="All Git webhooks will be sent to this endpoint. <br><br>If you would like to use domain instead of IP address, set your Coolify instance's FQDN in the Settings menu.">@@ -120,7 +120,7 @@<x-forms.input type="number" id="github_app.custom_port" label="Port" required />@endif</div>- @if (!is_cloud())+ @if (!is_cloud() || isDev())<x-forms.checkboxhelper="If checked, this GitHub App will be available for everyone in this Coolify instance."label="System Wide?" disabled id="is_system_wide" />