Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: add forward headers
Marc Seitz8be0567b5417
diff --git a/pages/api/file/tus/[[...file]].ts b/pages/api/file/tus/[[...file]].tsindex decc95ef..c4f26a93 100644--- a/pages/api/file/tus/[[...file]].ts+++ b/pages/api/file/tus/[[...file]].ts@@ -20,7 +20,7 @@ const tusServer = new Server({// `path` needs to match the route declared by the next file routerpath: "/api/file/tus",// maxSize: 1024 * 1024 * 1024 * 2, // 2 GiB- // respectForwardedHeaders: true,+ respectForwardedHeaders: true,datastore: new S3Store({partSize: 8 * 1024 * 1024, // each uploaded part will have ~8MiB,// expirationPeriodInMilliseconds: 1000 * 60 * 60 * 3, // 3 hours