Add sha256 hash

This commit is contained in:
2022-01-27 19:56:44 +01:00
parent 8e7aa82c1e
commit 4985f8810b
3 changed files with 23 additions and 6 deletions

View File

@@ -14,6 +14,7 @@ export let file = {
bandwidth_used: 0,
bandwidth_used_paid: 0,
description: "",
hash_sha256: "",
timeseries_href: "",
}
@@ -150,6 +151,10 @@ onMount(() => {
<td>{file.description}</td>
</tr>
{/if}
<tr>
<td>SHA256 hash</td>
<td style="word-break: break-all;">{file.hash_sha256}</td>
</tr>
</table>
<h2>Views and downloads</h2>

View File

@@ -10,6 +10,7 @@ export const file_struct = {
mime_type: "",
availability: "",
abuse_type: "",
hash_sha256: "",
show_ads: false,
can_edit: false,
get_href: "",