Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
Allow txt, log, and zip files to be uploaded by dataroom visitors (#2152)
Marc Seitzef9fc91637a5
diff --git a/lib/constants.ts b/lib/constants.tsindex 36bd0d9a..116e205d 100644--- a/lib/constants.ts+++ b/lib/constants.ts@@ -137,7 +137,7 @@ export const FULL_PLAN_ACCEPTED_FILE_TYPES = {"application/vnd.oasis.opendocument.text": [], // ".odt""application/rtf": [], // ".rtf""text/rtf": [], // ".rtf"- "text/plain": [".log"], // ".txt", ".log"+ "text/plain": [".txt", ".log"], // ".txt", ".log""image/vnd.dwg": [".dwg"], // ".dwg""image/vnd.dxf": [".dxf"], // ".dxf""image/png": [], // ".png"@@ -178,12 +178,12 @@ export const VIEWER_ACCEPTED_FILE_TYPES = {"application/vnd.oasis.opendocument.text": [], // ".odt""application/rtf": [], // ".rtf""text/rtf": [], // ".rtf"- "text/plain": [".log"], // ".txt", ".log"+ "text/plain": [".txt", ".log"], // ".txt", ".log""image/png": [], // ".png""image/jpeg": [], // ".jpeg""image/jpg": [], // ".jpg"- "application/zip": [], // ".zip"- "application/x-zip-compressed": [], // ".zip"+ "application/zip": [".zip"], // ".zip"+ "application/x-zip-compressed": [".zip"], // ".zip""application/vnd.ms-outlook": [".msg"], // ".msg"};