diff --git a/src/server/utils.js b/src/server/utils.js index fb1cbc1..4c65b8f 100644 --- a/src/server/utils.js +++ b/src/server/utils.js @@ -82,7 +82,7 @@ export function encodeZBase32 (data) { } export function getMetaFromReq (req) { - let versionDetails = (req.app.get('git_hash')) + const versionDetails = (req.app.get('git_hash')) ? `+${req.app.get('git_hash').substring(0, 10)}` : ''