From 9af643f6bf23eb68fb8992d1965077eff4fe1524 Mon Sep 17 00:00:00 2001 From: notCharles Date: Sat, 30 Nov 2024 21:43:22 -0500 Subject: [PATCH] If alias, use that, else ip --- app/Models/Allocation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Allocation.php b/app/Models/Allocation.php index 699b051839..4ec50e72d0 100644 --- a/app/Models/Allocation.php +++ b/app/Models/Allocation.php @@ -105,7 +105,7 @@ public function getHasAliasAttribute(?string $value): bool protected function address(): Attribute { return Attribute::make( - get: fn () => "$this->ip:$this->port", + get: fn () => "$this->alias:$this->port", ); }