Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
fix: forward headers
Marc Seitz0eca48789bdb
diff --git a/pages/api/file/tus/[[...file]].ts b/pages/api/file/tus/[[...file]].tsindex e71526ea..a9306864 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