Reduced hash length to preserve data usage

This commit is contained in:
emad-salah 2020-03-10 14:45:39 +01:00
parent e2abc42489
commit 0fbc2366ba

View file

@ -74,7 +74,7 @@ const server = program => {
return
}
const dataHash = hashData(args[0])
const dataHash = hashData(args[0]).slice(-8)
res.set('ETag', dataHash)
console.log('ETag:', req.headers.etag)