Skip to content

Commit

Permalink
If alias, use that, else ip
Browse files Browse the repository at this point in the history
  • Loading branch information
notAreYouScared committed Dec 1, 2024
1 parent 73b3840 commit 9af643f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Allocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
}

Expand Down

0 comments on commit 9af643f

Please sign in to comment.