add more possible characters

This commit is contained in:
daniel-j
2023-12-06 18:15:51 +01:00
parent 345f61eed8
commit 4b96d924ec

View File

@@ -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