diff --git a/data/index.html b/data/index.html
index d85d818..26177cb 100644
--- a/data/index.html
+++ b/data/index.html
@@ -98,6 +98,11 @@
+
+ Script-Hash
+
+
+
SDK-Version
diff --git a/data/status.js b/data/status.js
index 0aebafe..de00373 100644
--- a/data/status.js
+++ b/data/status.js
@@ -58,6 +58,8 @@ function setStatus(status) {
);
setValue("uptime", parseDuration(status.uptime));
+
+ setValue("hash", parseHash(status.sketch.md5));
}
function setValue(className, value) {
@@ -79,6 +81,10 @@ function parseDuration(ms) {
return days !== 0 ? `${days} Tage, ${time}` : time;
}
+function parseHash(hash) {
+ return hash.toUpperCase().substring(0, 16);
+}
+
function formatBytes(bytes) {
const units = ["Bytes", "KB", "MB", "GB"];