From 26fce85bb03d190aef83959ac538040122b853c2 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Sat, 14 Oct 2023 12:10:12 +0530 Subject: [PATCH] fix: redis URL generated --- app/Http/Livewire/Project/Database/Redis/General.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Livewire/Project/Database/Redis/General.php b/app/Http/Livewire/Project/Database/Redis/General.php index c8e15062a..866c0325f 100644 --- a/app/Http/Livewire/Project/Database/Redis/General.php +++ b/app/Http/Livewire/Project/Database/Redis/General.php @@ -80,9 +80,9 @@ class General extends Component public function getDbUrl() { if ($this->database->is_public) { - $this->db_url = "redis://{$this->database->redis_password}@{$this->database->destination->server->getIp}:{$this->database->public_port}/0"; + $this->db_url = "redis://:{$this->database->redis_password}@{$this->database->destination->server->getIp}:{$this->database->public_port}/0"; } else { - $this->db_url = "redis://{$this->database->redis_password}@{$this->database->uuid}:5432/0"; + $this->db_url = "redis://:{$this->database->redis_password}@{$this->database->uuid}:6379/0"; } } public function render()