mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-08 08:13:11 +08:00
Changed behavior of domains list so that it does not return configured redirects as redirects for default domain
This commit is contained in:
@@ -18,7 +18,7 @@ final class DomainItem implements JsonSerializable
|
||||
) {
|
||||
}
|
||||
|
||||
public static function forExistingDomain(Domain $domain): self
|
||||
public static function forNonDefaultDomain(Domain $domain): self
|
||||
{
|
||||
return new self($domain->getAuthority(), $domain, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user