From b02efb54354988f65ec2bc0c204e5541785c19d5 Mon Sep 17 00:00:00 2001 From: Matteo Cargnelutti Date: Mon, 21 Nov 2022 14:38:24 -0500 Subject: [PATCH] Check PDF fix + copy edits --- app/templates/index.njk | 2 ++ app/utils/SuccessLog.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/index.njk b/app/templates/index.njk index cca1287..4bae1f9 100644 --- a/app/templates/index.njk +++ b/app/templates/index.njk @@ -179,6 +179,8 @@

archive.social is an experiment of the Harvard Library Innovation Lab.

@harvardlil on Twitter - Subscribe to our Newsletter.

+ +

contact: info@archive.social

diff --git a/app/utils/SuccessLog.js b/app/utils/SuccessLog.js index 7887970..1d0d384 100644 --- a/app/utils/SuccessLog.js +++ b/app/utils/SuccessLog.js @@ -77,7 +77,7 @@ export class SuccessLog { // Save entry const entry = `${new Date().toISOString()}\t${accessKey}\tsha512-${hash}\n`; fs.appendFileSync(SuccessLog.filepath, entry); - this.#hashes[hash] = true; + this.#hashes[`sha512-${hash}`] = true; } /**