Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: add redirect only to app domain

Marc Seitzb2a60bb70295
diff --git a/next.config.mjs b/next.config.mjs
index ab5d87cb..5da075aa 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -19,6 +19,12 @@ const nextConfig = {
source: "/",
destination: "/documents",
permanent: false,
+ has: [
+ {
+ type: "host",
+ value: process.env.NEXT_PUBLIC_APP_BASE_HOST,
+ },
+ ],
},
{
source: "/view/cm2xiaxzo000d147xszm9q72o",