Reduced hash length to preserve data usage
This commit is contained in:
parent
e2abc42489
commit
0fbc2366ba
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ const server = program => {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const dataHash = hashData(args[0])
|
const dataHash = hashData(args[0]).slice(-8)
|
||||||
res.set('ETag', dataHash)
|
res.set('ETag', dataHash)
|
||||||
|
|
||||||
console.log('ETag:', req.headers.etag)
|
console.log('ETag:', req.headers.etag)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue