Fix ladl.link 404s for QR ecosystem slugs.
Deploy Ladill Link / deploy (push) Successful in 31s

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:
isaacclad
2026-06-27 15:26:27 +00:00
co-authored by Cursor
parent db6be67f26
commit 5982165128
5 changed files with 75 additions and 3 deletions
+6
View File
@@ -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) {