no localhost in cloud

This commit is contained in:
Andras Bacsai 2023-08-30 18:35:20 +02:00
parent 923af88336
commit 6f9cd6a16b
2 changed files with 7 additions and 1 deletions

View File

@ -52,6 +52,12 @@ public function mount()
$this->remoteServerHost = 'coolify-testing-host';
}
}
public function welcome() {
if (is_cloud()) {
return $this->setServerType('remote');
}
$this->currentState = 'select-server-type';
}
public function restartBoarding()
{
if ($this->createdServer) {

View File

@ -5,7 +5,7 @@
<h1 class="text-5xl font-bold">Welcome to Coolify</h1>
<p class="py-6 text-xl text-center">Let me help you to set the basics.</p>
<div class="flex justify-center ">
<x-forms.button class="justify-center box" wire:click="$set('currentState', 'select-server-type')">Get Started
<x-forms.button class="justify-center box" wire:click="welcome">Get Started
</x-forms.button>
</div>
@endif