Shorten thread route from /thread to /t

All internal links (tiles, prev/next nav, comments, notifications,
breadcrumb, dropzone route check) point to /t/<id>. A global route
middleware permanently redirects old /thread/<id> URLs including
query string and comment anchor.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
2026-10-04 15:24:32 +02:00
co-authored by Devin
parent e2f2949586
commit 456776ea68
9 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ const timeAgo = useTimeAgo()
<NuxtLink
v-for="comment in comments.items"
:key="comment.id"
:to="`/thread/${comment.uploadId}#comment-${comment.id}`"
:to="`/t/${comment.uploadId}#comment-${comment.id}`"
class="flex items-center gap-3 px-3 py-2.5 text-sm transition-colors hover:bg-accent"
>
<NuxtImg