From 4b96d924ecb84693990782e263824ef424088892 Mon Sep 17 00:00:00 2001 From: daniel-j Date: Wed, 6 Dec 2023 18:15:51 +0100 Subject: [PATCH] add more possible characters --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 5595ef4..2b7034d 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,7 @@ const TYPE_MOBI = 'application/x-mobipocket-ebook' const allowedTypes = [TYPE_EPUB, TYPE_MOBI, 'application/pdf', 'application/vnd.comicbook+zip', 'application/vnd.comicbook-rar', 'text/html', 'text/plain', 'application/zip', 'application/x-rar-compressed'] const allowedExtensions = ['epub', 'mobi', 'pdf', 'cbz', 'cbr', 'html', 'txt'] -const keyChars = "3469ACEGHLMNPRTY" +const keyChars = "23456789ACDEFGHJKLMNPRSTUVWXYZ" const keyLength = 4