fix: remove trailing slash
This commit is contained in:
1 parent
64a2610fa5
commit
b97ebffc08
2 files changed
+10
-10
No files matched your search
@@ -76,9 +76,11 @@
|
||||
{#if richURL}
|
||||
<div class="flex max-w-full overflow-hidden">
|
||||
{richURL.hostname}
|
||||
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
|
||||
{richURL.pathname}
|
||||
</span>
|
||||
{#if richURL.pathname != '/'}
|
||||
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
|
||||
{richURL.pathname}
|
||||
</span>
|
||||
{/if}
|
||||
</div>
|
||||
{:else}
|
||||
{url}
|
||||
|
||||
Reference in new issue
Block a user