Commit 5d1f5135 authored by nanahira's avatar nanahira

fix

parent bc672ef2
Pipeline #40984 passed with stages
in 2 minutes and 4 seconds
......@@ -19,7 +19,7 @@ export class UpdateController {
}
private addETag(res: Response, data: any) {
const hash = createHash('sha512').update(JSON.stringify(data)).digest('hex');
const hash = createHash('md5').update(JSON.stringify(data)).digest('hex');
res.setHeader('ETag', `"${hash}"`);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment