add sia prefix

This commit is contained in:
Karol Wypchlo 2021-02-17 12:02:06 +01:00
parent a530abcf15
commit a9ba80716e
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ export default function Home() {
<p className="text-sm font-medium text-green-600 truncate">
{item.name || "— file name not available —"}
</p>
<abbr className="text-xs text-gray-400" title={item.skylink}>
<abbr className="text-xs text-gray-400" title={`sia://${item.skylink}`}>
sia://{item.skylink.substr(0, 5)}…{item.skylink.substr(-5)}
</abbr>
</div>