diff --git a/public/index.html b/public/index.html
index a5abf20..c9576b7 100644
--- a/public/index.html
+++ b/public/index.html
@@ -21,9 +21,25 @@
footer {
margin-top: auto;
- padding: 10px;
+ padding: 15px;
background-color: #f8f9fa;
text-align: center;
+ font-family: "Helvetica Neue", "Arial";
+ }
+ #footer-text {
+ margin: -5px;
+ }
+
+ #footer-copy {
+ margin: -5px;
+ font-family:monospace;
+ font-size: small;
+ padding-top: 10px;
+ }
+
+ #copy {
+ text-decoration: none;
+
}
@@ -51,6 +67,7 @@
@@ -93,7 +110,7 @@
if (res.ok) {
const data = await res.json();
// Update footer with the fetched version info
- const footerText = `${data.author} - version: ${data.version} - ${data.message}`;
+ const footerText = `version: ${data.version} - ${data.message}`;
document.getElementById('footer-text').textContent = footerText;
} else {
document.getElementById('footer-text').textContent = '';
diff --git a/routes/users.js b/routes/users.js
index ceb469e..ad19303 100644
--- a/routes/users.js
+++ b/routes/users.js
@@ -38,7 +38,7 @@ router.get("/version", async (req, res) => {
try {
const latestCommit = await fetchLatestCommitFromGitHub();
res.json({
- version: latestCommit.sha,
+ version: (latestCommit.sha).substring(0,5),
message: latestCommit.message,
author: latestCommit.author,
date: latestCommit.date,