Skip to content

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

feat: add assetPrefix

Marc Seitz565c84f9c15d
diff --git a/next.config.mjs b/next.config.mjs
index 83e0be40..54b1372e 100644
--- a/next.config.mjs
+++ b/next.config.mjs
@@ -8,6 +8,10 @@ const nextConfig = {
},
transpilePackages: ["@trigger.dev/react"],
skipTrailingSlashRedirect: true,
+ assetPrefix:
+ process.env.NODE_ENV === "production"
+ ? process.env.NEXT_PUBLIC_BASE_URL
+ : undefined,
experimental: {
outputFileTracingIncludes: {
"/api/mupdf/*": ["./node_modules/mupdf/dist/*.wasm"],