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
@@ -21,7 +21,7 @@ class LinkRedirectController extends Controller
{
if ($path === null || $path === '') {
$link = $this->links->resolve($request, $slug);
if ($link !== null) {
if ($link !== null && $link->isDirectRedirect()) {
return redirect()->away($link->destination_url, 302);
}
}