From 6f9cd6a16b23869e4695ffd81e4e61b93d951cc7 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 30 Aug 2023 18:35:20 +0200 Subject: [PATCH] no localhost in cloud --- app/Http/Livewire/Boarding/Index.php | 6 ++++++ resources/views/livewire/boarding/index.blade.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/Http/Livewire/Boarding/Index.php b/app/Http/Livewire/Boarding/Index.php index e543af17a..77afc1a92 100644 --- a/app/Http/Livewire/Boarding/Index.php +++ b/app/Http/Livewire/Boarding/Index.php @@ -52,6 +52,12 @@ uZx9iFkCELtxrh31QJ68AAAAEXNhaWxANzZmZjY2ZDJlMmRkAQIDBA== $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) { diff --git a/resources/views/livewire/boarding/index.blade.php b/resources/views/livewire/boarding/index.blade.php index a62b0c705..430bc48fb 100644 --- a/resources/views/livewire/boarding/index.blade.php +++ b/resources/views/livewire/boarding/index.blade.php @@ -5,7 +5,7 @@

Welcome to Coolify

Let me help you to set the basics.

- Get Started + Get Started
@endif