Only direct Link redirects use destination_url; catalog QR slugs proxy through the platform resolver instead of malformed summary URLs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -64,6 +64,12 @@ class ShortLink extends Model
|
||||
return $this->expires_at !== null && $this->expires_at->isPast();
|
||||
}
|
||||
|
||||
/** Simple URL redirects created in Link; QR ecosystem slugs resolve via the platform proxy. */
|
||||
public function isDirectRedirect(): bool
|
||||
{
|
||||
return $this->is_managed_here && $this->source_kind === 'redirect';
|
||||
}
|
||||
|
||||
public function sourceAppLabel(): string
|
||||
{
|
||||
return match ($this->source_app) {
|
||||
|
||||
Reference in New Issue
Block a user